We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
// 用这种方法push页面语言不会改变, Navigator.of(context).push( MaterialPageRoute( builder: (BuildContext context) { return RegisterPage(); }, ), ); // 如果是这样的话就可以改变 Navigator.of(context).push( MaterialPageRoute( builder: (BuildContext context) { return StoreBuilder<AppState>( builder: (context, store) { return Localizations.override( context: context, locale: store.state.localeState.locale, child: RegisterPage(), ); }, ); }, ),
页面我都用basepage来包装了一下,我想问一下,是否是每一个新页面我都要包装一层Localizations.override,我看你的项目里面没有包装诶
The text was updated successfully, but these errors were encountered:
加了一句super.build(context);就只需要在根路由套一层。
Sorry, something went wrong.
不是很理解你的问题
No branches or pull requests
页面我都用basepage来包装了一下,我想问一下,是否是每一个新页面我都要包装一层Localizations.override,我看你的项目里面没有包装诶
The text was updated successfully, but these errors were encountered: