-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add rtl #247
base: master
Are you sure you want to change the base?
Add rtl #247
Conversation
), | ||
), | ||
); | ||
} | ||
|
||
List<Widget> createWidget(Color iconColor){ | ||
Locale myLocale = Localizations.localeOf(context); | ||
isRtlLanguage( myLocale.languageCode); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unneeded line
Could you explain why this is needed? Your solution is well thought out but misses a few things. In my opinion we should not include localization libraries just to find out if rlt and then reverse the controls. Is there any benefit or real need to reverse the controls? @Ahmadre What's your opinion? |
Rtl is not only related to localizations, but also to accessibility. It would be nice if left-handed people enjoy apps made with chewie. I understand the automatic detection by language, but I would like to have a flag 'rtl' so the concrete app can handle the localization and chewie gets only the flag for the trigger. So, thumbs up from me for this 👍🏼 |
@mreslami please re-sync your changes with the latest master changes, then I'll be able to finish reviewing. Thanks in advance. |
Automatic rtl detection and field rtl in chewieController for the display buildBottomBar