onExit property Null safety
final
Triggered when a mouse pointer, with or without buttons pressed, has exited the region and validForMouseTracker is true.
This callback is triggered when the pointer has stopped being contained by the region, either due to a pointer event, or due to the movement or disappearance of the region. This method always matches an earlier onEnter.
See also:
- onEnter, which is triggered when a mouse pointer enters the region.
- MouseRegion.onExit, which uses this callback, but is not triggered in certain cases and does not always match its earlier MouseRegion.onEnter.
Implementation
@override
final PointerExitEventListener? onExit;