RenderPointerListener constructor Null safety
- {PointerDownEventListener? onPointerDown,
- PointerMoveEventListener? onPointerMove,
- PointerUpEventListener? onPointerUp,
- PointerHoverEventListener? onPointerHover,
- PointerCancelEventListener? onPointerCancel,
- PointerPanZoomStartEventListener? onPointerPanZoomStart,
- PointerPanZoomUpdateEventListener? onPointerPanZoomUpdate,
- PointerPanZoomEndEventListener? onPointerPanZoomEnd,
- PointerSignalEventListener? onPointerSignal,
- HitTestBehavior behavior = HitTestBehavior.deferToChild,
- RenderBox? child}
Creates a render object that forwards pointer events to callbacks.
The behavior argument defaults to HitTestBehavior.deferToChild.
Implementation
RenderPointerListener({
this.onPointerDown,
this.onPointerMove,
this.onPointerUp,
this.onPointerHover,
this.onPointerCancel,
this.onPointerPanZoomStart,
this.onPointerPanZoomUpdate,
this.onPointerPanZoomEnd,
this.onPointerSignal,
super.behavior,
super.child,
});