RoutePathStatefulStackShell constructor
const
RoutePathStatefulStackShell({
- required List<
RoutePathBranch> branches, - Type? pageType,
- Function? builder,
- Function? pageBuilder,
Implementation
const RoutePathStatefulStackShell({
required this.branches,
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].',
);