DartBoardNav class abstract
- Implementers
Constructors
Properties
- changeNotifier → ChangeNotifier
-
Change Notifier to listen to changes in nav
no setter
- currentPath → String
-
The currently active (foreground) route
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stack
→ List<
DartBoardPath> -
Get the current stack
no setter
Methods
-
appendPath(
String path) → void - Append to the current route (e.g. /b appended to /a = /a/b)
-
clearWhere(
bool predicate(DartBoardPath path)) → void - Clear all routes in the stack that match the predicate
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pop(
) → void - Pop the top most route
-
popUntil(
bool predicate(DartBoardPath path)) → void - Pop routers until the predicate clears
-
push(
String path, {bool expanded}) → void -
Push a route onto the stack
expanded will push sub-paths (e.g. /a/b/c will push
/a, /a/b, /a/b/c
) -
pushDynamic(
{required String dynamicPathName, required WidgetBuilder builder}) → void - Push a route with a dynamic route name
-
replaceRoot(
String path) → void -
replaceTop(
String path) → void - Pop & Push (replace top of stack) Does not work on '/'
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited