Commit 657b9540 authored by SpeciedCrab's avatar SpeciedCrab

fix 1.17

parent cc320d61
......@@ -122,6 +122,8 @@ class BoostContainer extends Navigator {
}
String desc() => '{uniqueId=${settings.uniqueId},name=${settings.name}}';
RouteListFactory get initialRoutes => super.onGenerateInitialRoutes;
}
class BoostContainerState extends NavigatorState {
......@@ -164,7 +166,7 @@ class BoostContainerState extends NavigatorState {
final String initRoute = widget.initialRoute ?? Navigator.defaultRouteName;
if (initRoute != null && routerHistory.isEmpty) {
routerHistory.addAll(
widget.onGenerateInitialRoutes(
widget.initialRoutes(
this,
widget.initialRoute ?? Navigator.defaultRouteName
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment