AdaptiveRoute constructor
AdaptiveRoute({
- required PageInfo page,
- bool fullscreenDialog = false,
- bool maintainState = true,
- bool fullMatch = false,
- bool initial = false,
- List<
AutoRouteGuard> guards = const [], - bool usesPathAsKey = false,
- String? path,
- List<
AutoRoute> ? children, - Map<
String, dynamic> meta = const {}, - TitleBuilder? title,
- RestorationIdBuilder? restorationId,
- bool opaque = true,
- bool keepHistory = true,
- bool allowSnapshotting = true,
Default constructor
Implementation
AdaptiveRoute({
required PageInfo page,
super.fullscreenDialog,
super.maintainState,
super.fullMatch = false,
super.initial,
super.guards,
super.usesPathAsKey = false,
super.path,
super.children,
super.meta = const {},
super.title,
super.restorationId,
bool opaque = true,
super.keepHistory,
super.allowSnapshotting = true,
}) : super._(
name: page.name,
type: RouteType.adaptive(opaque: opaque),
);