-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding textDirection property to ThemeData class #62691
Comments
textDirection
property to ThemeData
class
Hi @hiwa-jalal,
Does this answer your question or did I misread your question ? |
thank you, but as i mentioned i already used it but it doesn't work, i mean it changes nothing. Directionality(
textDirection: TextDirection.rtl,
child: NeumorphicApp(
debugShowCheckedModeBanner: false,
home: get_package.GetMaterialApp(
theme: state.themeData,
debugShowCheckedModeBanner: false,
home: locationPrefs != null
? Builder(
builder: (context) {
ScreenUtil.init(context);
return HomePage(
showDialog: false,
userLocation: locationPrefs,
);
},
)
: Builder(
builder: (context) {
SizeConfig().init(context);
ScreenUtil.init(context);
return I18n(
child: LanguageSelectionPage(),
);
},
),
),
),
); |
Hi @hiwa-jalal, |
shouldn't
textDirection
be added toThemeData
so we can just change it once and not in every singleText
widget, i know about the Directionality widget but it doesn't work liketextDirection
property inside theText
widget.The text was updated successfully, but these errors were encountered: