NavUtils class

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 Properties

arguments → dynamic
no setter
canPop bool
no setter
currentContext BuildContext
no setter
currentRoute String
no setter
defaultRouteName String
no setter
height double
no setter
isOverlayOpen bool
no setter
parameters → dynamic
no setter
previousRoute String
no setter
size Size
no setter
width double
no setter

Static Methods

back({dynamic result}) → dynamic
isModalBottomSheetOpen() bool
offAllNamed(String newRouteName, {RoutePredicate? predicate, dynamic arguments, int? id, Map<String, String>? parameters}) → dynamic
offNamed(String page, {dynamic arguments, int? id, bool preventDuplicates = true, Map<String, String>? parameters}) → dynamic
popUntil(RoutePredicate predicate) → dynamic
setDefaultRouteName(String defaultRouteName) → void
to(dynamic page, {dynamic arguments, int? id}) → dynamic
toNamed(String page, {dynamic arguments, int? id, bool preventDuplicates = true, Map<String, String>? parameters}) → dynamic