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
BoostNavigator.instance.push("record/detail", arguments: {}, withContainer: true, opaque: true)
FlutterBoostApp(List<String> routeNames, ....) { BoostNavigator.instance. routeNames = routeNames; } bool isFlutterPage(String name) { List<String>? routeNames = BoostNavigator.instance. routeNames; if(routeNames != null && routeNames.isNotEmpty){ return routeNames.contains(name); } //兼容原有的模式 return routeFactory(RouteSettings(name: name), null) != null; }
如此可以减少一次routeFactory的调用,从而减少不必要的Route的初始化。
每次都会遇到。
Both
3.22.3
4.6.2
No
如上。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
请描述遇到的问题,以及您所期望的正确的结果
如此可以减少一次routeFactory的调用,从而减少不必要的Route的初始化。
请说明如何操作会遇到上述问题
每次都会遇到。
在下面填入关键复现代码
复现的平台
Both
Flutter SDK版本
3.22.3
FlutterBoost版本
4.6.2
是否延迟初始化FlutterBoost
No
解决方案
如上。
The text was updated successfully, but these errors were encountered: