We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc320d6 commit 657b954Copy full SHA for 657b954
lib/container/boost_container.dart
@@ -122,6 +122,8 @@ class BoostContainer extends Navigator {
122
}
123
124
String desc() => '{uniqueId=${settings.uniqueId},name=${settings.name}}';
125
+
126
+ RouteListFactory get initialRoutes => super.onGenerateInitialRoutes;
127
128
129
class BoostContainerState extends NavigatorState {
@@ -164,7 +166,7 @@ class BoostContainerState extends NavigatorState {
164
166
final String initRoute = widget.initialRoute ?? Navigator.defaultRouteName;
165
167
if (initRoute != null && routerHistory.isEmpty) {
168
routerHistory.addAll(
- widget.onGenerateInitialRoutes(
169
+ widget.initialRoutes(
170
this,
171
widget.initialRoute ?? Navigator.defaultRouteName
172
)
0 commit comments