onPointerEnter property

void Function(PointerEnterEvent event) onPointerEnter

Called when a pointer enters the region for this widget.

This is only fired for pointers which report their location when not down (e.g. mouse pointers, but not most touch pointers).

If this is a mouse pointer, this will fire when the mouse pointer enters the region defined by this widget, or when the widget appears under the pointer.


final PointerEnterEventListener onPointerEnter