Closed rami-alloush closed 5 years ago
Hi @rami-alloush Do you know any method at flutter to detect which direction is using? If it does, I can auto detect and set the right direction. If not, maybe I give an attribute as an option to set direction.
Thanks @duytq94 for the reply.
GlobalWidgetsLocalizations.delegate
defines the default text direction, either left to right or right to left, for the widgets library.
Please refer to this page for more details here
Thanks @rami-alloush But what I really need is there any method that help us detect which direction is using. And seem your advice does not mention about it.
There are only 5 languages that are RTL. You can check and detect them. Please refer to this answer here Thanks
I fixed in 2.2.3 with df49af8b332425df45ff51d9b15be7bc099128b3 Thanks for your suggestion.
it does not work well yet, please fix it. everything is fine except for dots in rtl Directionality.
@xmavara please read here https://github.com/duytq94/flutter-intro-slider/issues/20
@duytq94 can you please at least wrap it with Directionality widget which is LTR by default but can be RTL by user choice ? it should be very easy .. thank you for this amazing plugin :)
Dots doesn't support RTL direction until now :(
I'm building an Arabic App (right to left direction). Everything works fine except for the dot indicator it keeps going from Left to Right. Thanks