Router class abstract
Router
It is used to navigate between pages.
It can be implemented using any navigation library like fluro, auto_route etc.
- Implementers
Constructors
- Router()
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
-
pop<
T> ([T? result]) → void - Pop the top-most widget off the navigation stack
-
pushPage<
T> (PageRoute< T> page) → Future<T?> - Push a named route onto the navigation stack
-
pushWidget<
T> (Widget page) → Future< T?> - Push a widget onto the navigation stack
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited