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
how to use it in other language #20
Comments
@faress123 may i know what language are you using? |
@sooxt98 I using the Arabic language |
@sooxt98 you are probably using Any solution? |
@omrid594 maybe u could try to wrap the navbar with void main() {
runApp(
MaterialApp(
home: Directionality( // add this
textDirection: TextDirection.rtl, // set this property
child: GNav(...),
),
),
);
} take a look at here: https://stackoverflow.com/questions/50535185/right-to-left-rtl-in-flutter |
@sooxt98 Not working - The issue causes because there is |
Did you try |
@sooxt98 Great! the order now is backward but works just fine! Thanks a lot |
the problem still appears, I need to make my app always start from right to left, but the text appears to a behind of the icon. like that: https://i.ibb.co/D183V9b/20200713-170022.jpg Any Solutions? |
@faress123 try wrap your Gnav with void main() {
runApp(
MaterialApp(
home: Directionality( // add this
textDirection: TextDirection.ltr, // set this property
child: GNav(...),
),
),
);
} |
@sooxt98 this work fine, and the text appear fine, but the app work from left to right, but I need my app to work from right to left ... |
@faress123 for ur case, I need to rewrite the UI & animation to flip the icon & text |
@sooxt98 |
hello everyone,
I use the google_nav_bar package, it is good and very nice.
but when I convert the direction of the app to (right to left) the text is making an error.
like the photo below:
https://i.ibb.co/D183V9b/20200713-170022.jpg
how can I solve that ??
and I am sorry because my English is not very good
The text was updated successfully, but these errors were encountered: