RoutePathStatefulShell constructor
const
RoutePathStatefulShell({
- required List<
RoutePathBranch> branches, - Type? pageType,
- Function? builder,
- Function? pageBuilder,
Implementation
const RoutePathStatefulShell({
required this.branches,
required this.navigatorContainerBuilder,
this.pageType,
this.builder,
this.pageBuilder,
//
this.parentNavigatorKey,
}) : assert(
(pageType != null ? 1 : 0) + (builder != null ? 1 : 0) + (pageBuilder != null ? 1 : 0) ==
1,
'use either [pageType], [builder] or [pageBuilder].',
);