ShellRouteData class abstract

A class to represent a ShellRoute in Type-safe routing.

Inheritance

Constructors

ShellRouteData()
Allows subclasses to have const constructors.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

builder(BuildContext context, GoRouterState state, Widget navigator) Widget
builder is used to build the widget
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pageBuilder(BuildContext context, GoRouterState state, Widget navigator) Page<void>
pageBuilder is used to build the page
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

$route<T extends ShellRouteData>({required T factory(GoRouterState), GlobalKey<NavigatorState>? navigatorKey, GlobalKey<NavigatorState>? parentNavigatorKey, List<RouteBase> routes = const <RouteBase>[], List<NavigatorObserver>? observers, String? restorationScopeId}) ShellRoute
A helper function used by generated code.