onPointerExit property

void Function(PointerExitEvent event) onPointerExit

Called when a pointer leaves 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 leaves the region defined by this widget, or when the widget disappears from under the pointer.


final PointerExitEventListener onPointerExit