RouteNavigator class abstract

Providing basic type of navigation.

Implementers

Constructors

RouteNavigator()

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

backTo<T>({Route? route, String? identifier, bool predicate(Route)?, Route? open}) → void
Goes back in navigation stack until Route found.
backToRoot({Route? open}) → void
Goes back in navigation stack until first Route.
close([dynamic result]) bool
Pops Route from navigation stack. result is send back to parent.
closeRoute(Route route, [dynamic result]) bool
Removes given route from navigator.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openDialog(WidgetBuilder builder, {bool root = true, dynamic type}) Future
Opens specific dialog based on given type Be default opens simple pop-up dialog.
openRoot(Route route) Future
Clears current Navigator and opens new Route.
openRoute(Route route, {bool root = false, bool replacement = false}) Future
Pushes route into current Navigator. route - specific route: type, settings, transition etc. root - pushes route into root Navigator - onto top of everything. replacement - pushes route as replacement of current route.
toString() String
A string representation of this object.
inherited

Operators

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