mouseRegion method
MouseRegion
mouseRegion({
- PointerEnterEventListener? onEnter,
- PointerHoverEventListener? onHover,
- PointerExitEventListener? onExit,
- bool opaque = true,
- HitTestBehavior? hitTestBehavior,
- MouseCursor cursor = MouseCursor.defer,
- Key? key,
see MouseRegion
Implementation
MouseRegion mouseRegion({
PointerEnterEventListener? onEnter,
PointerHoverEventListener? onHover,
PointerExitEventListener? onExit,
bool opaque = true,
HitTestBehavior? hitTestBehavior,
MouseCursor cursor = MouseCursor.defer,
Key? key,
}) =>
MouseRegion(
onEnter: onEnter,
onHover: onHover,
onExit: onExit,
opaque: opaque,
hitTestBehavior: hitTestBehavior,
child: this,
);