OverlayLogic class

Implemented types

Constructors

OverlayLogic(InteractiveOptions<InteractiveOverlayImage> editOptionsGetter())
const

Properties

editOptions → InteractiveOptions<InteractiveOverlayImage>
no setter
editOptionsGetter → InteractiveOptions<InteractiveOverlayImage> Function()
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createAddOp(InteractiveOverlayImage item) → Op<InteractiveOverlayImage>
override
createDragEndOp(InteractiveOverlayImage item, LatLng origin, LatLng current) → Op<InteractiveOverlayImage>?
Convert a generic drag end into a concrete commit operation.
override
createRemoveOp(Key key) → Op<InteractiveOverlayImage>
override
createUpdateOp(InteractiveOverlayImage oldItem, InteractiveOverlayImage newItem, {int index = -1}) → Op<InteractiveOverlayImage>
override
ensureHasKey(InteractiveOverlayImage item) → void
override
getBounds(InteractiveOverlayImage item) → LatLngBounds
Get the bounds of the item for spatial indexing.
override
getItemKey(InteractiveOverlayImage item) → Key?
override
hasSpatialChange(InteractiveOverlayImage oldItem, InteractiveOverlayImage newItem) → bool
Returns true if the change between a and b is spatial (position/geometry).
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDragUpdate(InteractiveOverlayImage item, LatLng origin, LatLng current) → void
Handle drag updates (e.g., debounced position change callbacks).
override
onInteraction(InteractiveOverlayImage item, InteractionType type) → void
Handle interaction side-effects (e.g., internal model callbacks).
override
toString() → String
A string representation of this object.
inherited
updateIndex(SpatialIndex<InteractiveOverlayImage> index, Op<InteractiveOverlayImage> op, InteractiveOverlayImage? getItem(Key)) → void
Updates the spatial index based on the operation. getItem allows retrieving the current state of an item by key (useful for Move ops).
override

Operators

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