MouseTrackerAnnotation class

The annotation object used to annotate layers that are interested in mouse movements.

This is added to a layer and managed by the Listener widget.

Constructors

MouseTrackerAnnotation({PointerEnterEventListener onEnter, PointerHoverEventListener onHover, PointerExitEventListener onExit })
Creates an annotation that can be used to find layers interested in mouse movements.
const

Properties

onEnter PointerEnterEventListener
Triggered when a pointer has entered the bounding box of the annotated layer.
final
onExit PointerExitEventListener
Triggered when a pointer has exited the bounding box of the annotated layer.
final
onHover PointerHoverEventListener
Triggered when a pointer has moved within the bounding box of the annotated layer.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited