Nav class

Typed imperative navigation, interoperable with Flutter's Navigator.

Constructors

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

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

Static Methods

argumentsOf<T>(BuildContext context) → T?
getArguments(BuildContext context) → Object?
maybePop<T>(BuildContext context, [T? result]) → Future<bool>
off<T>(BuildContext context, [T? backParams]) → void
offAll<T>(BuildContext context, Widget page(), [Object? arguments]) → Future<T?>
Clears the complete previous stack.
pushNamed<T>(BuildContext context, String routeName, [Object? arguments]) → Future<T?>
pushUntil<T>(BuildContext context, Widget page(), RoutePredicate predicate, [Object? arguments]) → Future<T?>
replace<T, TO>(BuildContext context, Widget page(), {Object? arguments, TO? result}) → Future<T?>
to<T>(BuildContext context, Widget page(), [Object? arguments]) → Future<T?>