RouteBuilder<T extends RouteArguments> class

Constructors

RouteBuilder({required PathsBuilder getBuilder(), required RegExp pattern, required T parse(RouteSegments, RouteParameters), required String path(T), ViewModelWidget<ViewModel> buildView()?, Future<Widget> build(BuildContext, T)?, required Future<RoutePath<RouteArguments>?> rewrite(BuildContext, T), AccessMode accessMode = AccessMode.public, RoutePath<RouteArguments> previousPath(T)?, List<NavigationItem> menuItems()?, List<NavigationItem> tabItems()?, bool isPublicRoute = false})

Properties

accessMode AccessMode
final
build Future<Widget> Function(BuildContext, T)?
final
buildView ViewModelWidget<ViewModel> Function()?
final
getBuilder PathsBuilder Function()
final
hashCode int
The hash code for this object.
no setterinherited
isPublicRoute bool
final
final
parse → T Function(RouteSegments, RouteParameters)
final
path String Function(T)
final
pattern RegExp
final
previousPath RoutePath<RouteArguments> Function(T)?
final
rewrite Future<RoutePath<RouteArguments>?> Function(BuildContext, T)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tabItems List<NavigationItem> Function()?
final

Methods

call([RouteSegments segments = const {}, RouteParameters parameters = const {}]) RoutePath<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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