LocalHistoryEntry class Null safety

An entry in the history of a LocalHistoryRoute.

Constructors

LocalHistoryEntry({VoidCallback? onRemove, bool impliesAppBarDismissal = true})
Creates an entry in the history of a LocalHistoryRoute.

Properties

hashCode int
The hash code for this object.
read-only, inherited
impliesAppBarDismissal bool
Whether an AppBar in the route this entry belongs to should automatically add a back button or close button.
final
onRemove VoidCallback?
Called when this entry is removed from the history of its associated LocalHistoryRoute.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
remove() → void
Remove this entry from the history of its associated LocalHistoryRoute.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited