createStatefulShellBranches method
inherited
Implementation
List<StatefulShellBranch> createStatefulShellBranches(
AppAttributes appAttributes,
List<(Widget, StatefulBranchInfoProvider)> allPagesWithConfigs,
) {
List<StatefulShellBranch> branches = [];
for (int i = 0; i < allPagesWithConfigs.length; i++) {
final pageWithConfig = allPagesWithConfigs[i];
branches.add(
StatefulShellBranch(
routes: <RouteBase>[
buildGoRouteForSPA(pageWithConfig, appAttributes),
],
),
);
}
return branches;
}