NopRoute class

Constructors

NopRoute({required String name, required String fullName, required Widget builder(BuildContext context, dynamic arguments, Object? group), NopRoute groupOwnerLate()?, String? groupKey, List<NopRoute>? children, String desc = ''})

Properties

builder Widget Function(BuildContext context, dynamic arguments, Object? group)
final
children List<NopRoute>?
final
desc String
final
fullName String
final
groupKey String
final
groupName String?
no setter
groupOwner NopRoute?
no setter
groupOwnerLate NopRoute Function()?
final
hashCode int
The hash code for this object.
no setterinherited
isCurrent bool
no setter
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
getGroupIdFromBuildContext(BuildContext? context) Object?
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?>

Constants

defaultGroupKey → const String