HistoryEvent class
A navigation event emitted by History.listen.
Constructors
- HistoryEvent({required HistoryAction action, required RouteInformation location, int? delta})
-
const
Properties
- action → HistoryAction
-
The type of navigation that occurred.
final
- delta → int?
-
The navigation delta, if known (e.g. -1 for back, +1 for forward).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- location → RouteInformation
-
The new location after the navigation finished.
final
- 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