PopMode enum
Enables the user to customize the intended pop behavior
Goes to either the previous history entry or the previous page entry
e.g. if the user navigates to these pages
- /home
- /home/products/1234
when popping on History mode, it will emulate a browser back button.
so the new history stack will be:
- /home
when popping on Page mode, it will only remove the last part of the route so the new history stack will be:
- /home
- /home/products
another pop will change the history stack to:
- /home
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited