DipNavRouter class
Main class of routing based on Navigator 2.0.
Constructors
Properties
- canPop → bool
-
no setter
- delegate → DipNavDelegate
-
no setter
- dispatcher → DipNavDispatcher
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- initRoute → DipNavRoute
-
no setter
- notFoundRoute → DipNavRoute?
-
routes is a list of routes to parse from URL change in the browser
no need to add initialization and not found routes to this list
no setter
- parser → DipNavParser
-
no setter
-
routes
→ List<
DipNavRoute> -
no setter
- 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? arguments, bool rebuild = true}) → Future< bool> - Pop method for return to previous route
-
push<
T> ({String? key, required String path, Map< String, String> ? queries, required Widget page, Object? arguments, bool removeUntil = false, bool replaceCurrent = false, bool rebuild = true, bool fullscreenDialog = false, bool maintainState = true}) → Future<T?> - Push method of adding new route in stack
-
pushRoute<
T> ({required DipNavRoute route, bool removeUntil = false, bool replaceCurrent = false, bool rebuild = true, bool fullscreenDialog = false, bool maintainState = true}) → Future< T?> - Push route method of adding new route in stack
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited