SearchLocationPreloadedItem class

Location search preloaded list item, for locations historically selected.

Inheritance

Constructors

SearchLocationPreloadedItem(OsmLocation osmLocation, {required bool popFirst})

Properties

hashCode → int
The hash code for this object.
no setterinherited
osmLocation → OsmLocation
final
popFirst → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(BuildContext context) → Future<void>
Deletes this item from the preload list.
override
getWidget(BuildContext context, {VoidCallback? onDeleteItem, VoidCallback? onFavoriteChanged}) → Widget
Displays the list item.
override
isPinned(BuildContext context) → bool
Whether this item must be displayed before the others.
override
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