I start an App in Flutter with GetX . I want to Create a rtl App and I used flutter_localizations package as this post .
This is my main() code
void main() => runApp(
GetMaterialApp(
localizationsDelegates: [
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
],
supportedLocales: [
Locale('fa', 'IR'),
],
locale: Locale('fa', 'IR'),
home: HomeScreen(),
),
);
and this is my HomeScreen Code
return Scaffold(
backgroundColor: Colors.white,
body: SafeArea(
child: Text(
"Some Text",
style: TextStyle(
color: Colors.black,
fontSize: 20,
fontWeight: FontWeight.bold,
),
),
),
);
and as you see in this picture , debug banner has gone to left side but text steel is in left