Gestures class

Constructors

Gestures({HitTestBehavior? behavior, bool excludeFromSemantics = false, DragStartBehavior dragStartBehavior = DragStartBehavior.start})
Apply gestures to a Division widgets

Properties

behavior HitTestBehavior?
How this gesture detector should behave during hit testing.
final
dragStartBehavior DragStartBehavior
Determines the way that drag start behavior is handled.
final
excludeFromSemantics bool
Whether to exclude these gestures from the semantics tree. For example, the long-press gesture for showing a tooltip is excluded because the tooltip itself is included in the semantics tree directly and so having a gesture to show it would result in duplication of information.
final
exportGesture → GestureModel
no setter
gestureModel → GestureModel
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isTap(void function(bool)) → void
Called whenever the tap state on the widget changes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDoubleTap(void function()) → void
onForcePressEnd(void function(ForcePressDetails)) → void
onForcePressPeak(void function(ForcePressDetails)) → void
onForcePressStart(void function(ForcePressDetails)) → void
onForcePressUpdate(void function(ForcePressDetails)) → void
onHorizontalDragCancel(void function()) → void
onHorizontalDragDown(void function(DragDownDetails)) → void
onHorizontalDragEnd(void function(DragEndDetails)) → void
onHorizontalDragStart(void function(DragStartDetails)) → void
onHorizontalDragUpdate(void function(DragUpdateDetails)) → void
onLongPress(void function()) → void
onLongPressEnd(void function(LongPressEndDetails)) → void
onLongPressMoveUpdate(void function(LongPressMoveUpdateDetails)) → void
onLongPressStart(void function(LongPressStartDetails)) → void
onLongPressUp(void function()) → void
onPanCancel(void function()) → void
onPanDown(void function(DragDownDetails)) → void
onPanEnd(void function(DragEndDetails)) → void
onPanStart(void function(DragStartDetails)) → void
onPanUpdate(void function(DragUpdateDetails)) → void
onScaleEnd(void function(ScaleEndDetails)) → void
onScaleStart(void function(ScaleStartDetails)) → void
onScaleUpdate(void function(ScaleUpdateDetails)) → void
onTap(void function()) → void
onTapCancel(void function()) → void
onTapDown(void function(TapDownDetails)) → void
onTapUp(void function(TapUpDetails)) → void
onVerticalDragCancel(void function()) → void
onVerticalDragDown(void function(DragDownDetails)) → void
onVerticalDragEnd(void function(DragEndDetails)) → void
onVerticalDragStart(void function(DragStartDetails)) → void
onVerticalDragUpdate(void function(DragUpdateDetails)) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited