Inheritance
System.Object
GestureDetector
public class GestureDetector : StatelessWidget
Constructors
Declaration
public GestureDetector(Key key = null, Widget child = null, GestureTapDownCallback onTapDown = null, GestureTapUpCallback onTapUp = null, GestureTapCallback onTap = null, GestureTapCancelCallback onTapCancel = null, GestureDoubleTapCallback onDoubleTap = null, GestureLongPressCallback onLongPress = null, GestureLongPressUpCallback onLongPressUp = null, GestureLongPressDragStartCallback onLongPressDragStart = null, GestureLongPressDragUpdateCallback onLongPressDragUpdate = null, GestureLongPressDragUpCallback onLongPressDragUp = null, GestureDragDownCallback onVerticalDragDown = null, GestureDragStartCallback onVerticalDragStart = null, GestureDragUpdateCallback onVerticalDragUpdate = null, GestureDragEndCallback onVerticalDragEnd = null, GestureDragCancelCallback onVerticalDragCancel = null, GestureDragDownCallback onHorizontalDragDown = null, GestureDragStartCallback onHorizontalDragStart = null, GestureDragUpdateCallback onHorizontalDragUpdate = null, GestureDragEndCallback onHorizontalDragEnd = null, GestureDragCancelCallback onHorizontalDragCancel = null, GestureDragDownCallback onPanDown = null, GestureDragStartCallback onPanStart = null, GestureDragUpdateCallback onPanUpdate = null, GestureDragEndCallback onPanEnd = null, GestureDragCancelCallback onPanCancel = null, GestureScaleStartCallback onScaleStart = null, GestureScaleUpdateCallback onScaleUpdate = null, GestureScaleEndCallback onScaleEnd = null, HitTestBehavior behavior = HitTestBehavior.deferToChild, DragStartBehavior dragStartBehavior = DragStartBehavior.down)
Parameters
Fields
Declaration
public readonly HitTestBehavior behavior
Field Value
Declaration
public readonly Widget child
Field Value
Declaration
public readonly DragStartBehavior dragStartBehavior
Field Value
Declaration
public readonly GestureDoubleTapCallback onDoubleTap
Field Value
Declaration
public readonly GestureDragCancelCallback onHorizontalDragCancel
Field Value
Declaration
public readonly GestureDragDownCallback onHorizontalDragDown
Field Value
Declaration
public readonly GestureDragEndCallback onHorizontalDragEnd
Field Value
Declaration
public readonly GestureDragStartCallback onHorizontalDragStart
Field Value
Declaration
public readonly GestureDragUpdateCallback onHorizontalDragUpdate
Field Value
Declaration
public readonly GestureLongPressCallback onLongPress
Field Value
Declaration
public readonly GestureLongPressDragStartCallback onLongPressDragStart
Field Value
Declaration
public readonly GestureLongPressDragUpCallback onLongPressDragUp
Field Value
Declaration
public readonly GestureLongPressDragUpdateCallback onLongPressDragUpdate
Field Value
Declaration
public readonly GestureLongPressUpCallback onLongPressUp
Field Value
Declaration
public readonly GestureDragCancelCallback onPanCancel
Field Value
Declaration
public readonly GestureDragDownCallback onPanDown
Field Value
Declaration
public readonly GestureDragEndCallback onPanEnd
Field Value
Declaration
public readonly GestureDragStartCallback onPanStart
Field Value
Declaration
public readonly GestureDragUpdateCallback onPanUpdate
Field Value
Declaration
public readonly GestureScaleEndCallback onScaleEnd
Field Value
Declaration
public readonly GestureScaleStartCallback onScaleStart
Field Value
Declaration
public readonly GestureScaleUpdateCallback onScaleUpdate
Field Value
Declaration
public readonly GestureTapCallback onTap
Field Value
Declaration
public readonly GestureTapCancelCallback onTapCancel
Field Value
Declaration
public readonly GestureTapDownCallback onTapDown
Field Value
Declaration
public readonly GestureTapUpCallback onTapUp
Field Value
Declaration
public readonly GestureDragCancelCallback onVerticalDragCancel
Field Value
Declaration
public readonly GestureDragDownCallback onVerticalDragDown
Field Value
Declaration
public readonly GestureDragEndCallback onVerticalDragEnd
Field Value
Declaration
public readonly GestureDragStartCallback onVerticalDragStart
Field Value
Declaration
public readonly GestureDragUpdateCallback onVerticalDragUpdate
Field Value
Methods
build(BuildContext)
Declaration
public override Widget build(BuildContext context)
Parameters
Returns
Overrides
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Overrides