NopRoute class

Constructors

NopRoute({required String name, required String fullName, required Widget builder(BuildContext context, dynamic arguments), List<NopRoute> children = const [], String desc = ''})
const

Properties

builder Widget Function(BuildContext context, dynamic arguments)
final
children List<NopRoute>
final
desc String
final
fullName String
final
hashCode int
The hash code for this object.
no setterinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMatch(RouteSettings settings) NopRouteBuilder?
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

final
getter/setter pair

Static Methods

getActions(BuildContext? context) NavigationActions
onGenInitRoutes(String name, Route? genRoute(String name)) List<Route>
popAndPushNamed<T extends Object?, R extends Object?>({required String fullName, BuildContext? context, R? result, Object? arguments}) Future<T?>
pushNamed<T extends Object?>({required String fullName, BuildContext? context, Object? arguments}) Future<T?>
pushNamedAndRemoveUntil<T extends Object?>(BuildContext? context, RoutePredicate predicate, {required String fullName, Object? arguments}) Future<T?>
pushReplacementNamed<T extends Object?, R extends Object?>({required String fullName, BuildContext? context, R? result, Object? arguments}) Future<T?>
restorablePopAndPushNamed<R extends Object>(BuildContext? context, {required String fullName, Object? arguments, R? result}) FutureOr<String?>
restorablePushNamed(BuildContext? context, {required String fullName, Object? arguments}) FutureOr<String?>
restorablePushNamedAndRemoveUntil(BuildContext? context, RoutePredicate predicate, {required String fullName, Object? arguments}) FutureOr<String?>
restorablePushReplacementNamed<R extends Object>(BuildContext? context, {required String fullName, Object? arguments, R? result}) FutureOr<String?>