PopMode enum

Enables the user to customize the intended pop behavior

Goes to either the previous _activePages entry or the previous page entry

e.g. if the user navigates to these pages

  1. /home
  2. /home/products/1234

when popping on History mode, it will emulate a browser back button.

so the new _activePages stack will be:

  1. /home

when popping on Page mode, it will only remove the last part of the route so the new _activePages stack will be:

  1. /home
  2. /home/products

another pop will change the _activePages stack to:

  1. /home
Inheritance
Available extensions

Values

history → const PopMode
page → const PopMode

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

Constants

values → const List<PopMode>
A constant List of the values in this enum, in order of their declaration.