How to restrict a widget to change its children's alignment when locale is changed (flutter_localizations)

好久不见. 提交于 2020-12-15 03:44:17

问题


I have integrated flutter_localizations to implement localization in my app. When the language is English, this is my login screen.

It works fine. But, when I switch to arabic language This is my login screen

I want the Google sign in icon to be placed exactly where it was when the language was English. But since the library is handling the UI mirroring when the language is changed, I cannot place the Google icon before the text when I change the locale to arabic language. Any information will be so helpful.

来源:https://stackoverflow.com/questions/65180615/how-to-restrict-a-widget-to-change-its-childrens-alignment-when-locale-is-chang

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!