RenderSemanticsGestureHandler constructor
- RenderBox? child,
- GestureTapCallback? onTap,
- GestureLongPressCallback? onLongPress,
- GestureDragUpdateCallback? onHorizontalDragUpdate,
- GestureDragUpdateCallback? onVerticalDragUpdate,
- double scrollFactor = 0.8,
- HitTestBehavior behavior = HitTestBehavior.deferToChild,
Creates a render object that listens for specific semantic gestures.
Implementation
RenderSemanticsGestureHandler({
super.child,
this._onTap,
this._onLongPress,
this._onHorizontalDragUpdate,
this._onVerticalDragUpdate,
this.scrollFactor = 0.8,
super.behavior,
});