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 MouseRegion widget.

Mixed in types

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 mouse pointer, with or without buttons pressed, has entered the annotated region. [...]
final
onExit PointerExitEventListener
Triggered when a mouse pointer, with or without buttons pressed, has exited the annotated region when the annotated region still exists. [...]
final
onHover PointerHoverEventListener
Triggered when a pointer has moved within the annotated region without buttons pressed. [...]
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

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toDiagnosticsNode({String name, DiagnosticsTreeStyle style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel: DiagnosticLevel.info}) String
Returns a string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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