ContinuousTapGestureDetector class

Inheritance

Constructors

ContinuousTapGestureDetector({required Widget gestureChild, required ContinuousTapListener listener})

Properties

behavior HitTestBehavior?
How this gesture detector should behave during hit testing when deciding how the hit test propagates to children and whether to consider targets behind this one.
finalinherited
child Widget?
The widget below this widget in the tree.
finalinherited
dragStartBehavior DragStartBehavior
Determines the way that drag start behavior is handled.
finalinherited
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.
finalinherited
gestureChild Widget
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
listener ContinuousTapListener
final
onDoubleTap GestureTapCallback?
The user has tapped the screen with a primary button at the same location twice in quick succession.
finalinherited
onDoubleTapCancel GestureTapCancelCallback?
The pointer that previously triggered onDoubleTapDown will not end up causing a double tap.
finalinherited
onDoubleTapDown GestureTapDownCallback?
A pointer that might cause a double tap has contacted the screen at a particular location.
finalinherited
onForcePressEnd GestureForcePressEndCallback?
The pointer tracked by onForcePressStart is no longer in contact with the screen.
finalinherited
onForcePressPeak GestureForcePressPeakCallback?
The pointer is in contact with the screen and has pressed with the maximum force. The amount of force is at least ForcePressGestureRecognizer.peakPressure.
finalinherited
onForcePressStart GestureForcePressStartCallback?
The pointer is in contact with the screen and has pressed with sufficient force to initiate a force press. The amount of force is at least ForcePressGestureRecognizer.startPressure.
finalinherited
onForcePressUpdate GestureForcePressUpdateCallback?
A pointer is in contact with the screen, has previously passed the ForcePressGestureRecognizer.startPressure and is either moving on the plane of the screen, pressing the screen with varying forces or both simultaneously.
finalinherited
onHorizontalDragCancel GestureDragCancelCallback?
The pointer that previously triggered onHorizontalDragDown did not complete.
finalinherited
onHorizontalDragDown GestureDragDownCallback?
A pointer has contacted the screen with a primary button and might begin to move horizontally.
finalinherited
onHorizontalDragEnd GestureDragEndCallback?
A pointer that was previously in contact with the screen with a primary button and moving horizontally is no longer in contact with the screen and was moving at a specific velocity when it stopped contacting the screen.
finalinherited
onHorizontalDragStart GestureDragStartCallback?
A pointer has contacted the screen with a primary button and has begun to move horizontally.
finalinherited
onHorizontalDragUpdate GestureDragUpdateCallback?
A pointer that is in contact with the screen with a primary button and moving horizontally has moved in the horizontal direction.
finalinherited
onLongPress GestureLongPressCallback?
Called when a long press gesture with a primary button has been recognized.
finalinherited
onLongPressCancel GestureLongPressCancelCallback?
A pointer that previously triggered onLongPressDown will not end up causing a long-press.
finalinherited
onLongPressDown GestureLongPressDownCallback?
The pointer has contacted the screen with a primary button, which might be the start of a long-press.
finalinherited
onLongPressEnd GestureLongPressEndCallback?
A pointer that has triggered a long-press with a primary button has stopped contacting the screen.
finalinherited
onLongPressMoveUpdate GestureLongPressMoveUpdateCallback?
A pointer has been drag-moved after a long-press with a primary button.
finalinherited
onLongPressStart GestureLongPressStartCallback?
Called when a long press gesture with a primary button has been recognized.
finalinherited
onLongPressUp GestureLongPressUpCallback?
A pointer that has triggered a long-press with a primary button has stopped contacting the screen.
finalinherited
onPanCancel GestureDragCancelCallback?
The pointer that previously triggered onPanDown did not complete.
finalinherited
onPanDown GestureDragDownCallback?
A pointer has contacted the screen with a primary button and might begin to move.
finalinherited
onPanEnd GestureDragEndCallback?
A pointer that was previously in contact with the screen with a primary button and moving is no longer in contact with the screen and was moving at a specific velocity when it stopped contacting the screen.
finalinherited
onPanStart GestureDragStartCallback?
A pointer has contacted the screen with a primary button and has begun to move.
finalinherited
onPanUpdate GestureDragUpdateCallback?
A pointer that is in contact with the screen with a primary button and moving has moved again.
finalinherited
onScaleEnd GestureScaleEndCallback?
The pointers are no longer in contact with the screen.
finalinherited
onScaleStart GestureScaleStartCallback?
The pointers in contact with the screen have established a focal point and initial scale of 1.0.
finalinherited
onScaleUpdate GestureScaleUpdateCallback?
The pointers in contact with the screen have indicated a new focal point and/or scale.
finalinherited
onSecondaryLongPress GestureLongPressCallback?
Called when a long press gesture with a secondary button has been recognized.
finalinherited
onSecondaryLongPressCancel GestureLongPressCancelCallback?
A pointer that previously triggered onSecondaryLongPressDown will not end up causing a long-press.
finalinherited
onSecondaryLongPressDown GestureLongPressDownCallback?
The pointer has contacted the screen with a secondary button, which might be the start of a long-press.
finalinherited
onSecondaryLongPressEnd GestureLongPressEndCallback?
A pointer that has triggered a long-press with a secondary button has stopped contacting the screen.
finalinherited
onSecondaryLongPressMoveUpdate GestureLongPressMoveUpdateCallback?
A pointer has been drag-moved after a long press with a secondary button.
finalinherited
onSecondaryLongPressStart GestureLongPressStartCallback?
Called when a long press gesture with a secondary button has been recognized.
finalinherited
onSecondaryLongPressUp GestureLongPressUpCallback?
A pointer that has triggered a long-press with a secondary button has stopped contacting the screen.
finalinherited
onSecondaryTap GestureTapCallback?
A tap with a secondary button has occurred.
finalinherited
onSecondaryTapCancel GestureTapCancelCallback?
The pointer that previously triggered onSecondaryTapDown will not end up causing a tap.
finalinherited
onSecondaryTapDown GestureTapDownCallback?
A pointer that might cause a tap with a secondary button has contacted the screen at a particular location.
finalinherited
onSecondaryTapUp GestureTapUpCallback?
A pointer that will trigger a tap with a secondary button has stopped contacting the screen at a particular location.
finalinherited
onTap GestureTapCallback?
A tap with a primary button has occurred.
finalinherited
onTapCancel GestureTapCancelCallback?
The pointer that previously triggered onTapDown will not end up causing a tap.
finalinherited
onTapDown GestureTapDownCallback?
A pointer that might cause a tap with a primary button has contacted the screen at a particular location.
finalinherited
onTapUp GestureTapUpCallback?
A pointer that will trigger a tap with a primary button has stopped contacting the screen at a particular location.
finalinherited
onTertiaryLongPress GestureLongPressCallback?
Called when a long press gesture with a tertiary button has been recognized.
finalinherited
onTertiaryLongPressCancel GestureLongPressCancelCallback?
A pointer that previously triggered onTertiaryLongPressDown will not end up causing a long-press.
finalinherited
onTertiaryLongPressDown GestureLongPressDownCallback?
The pointer has contacted the screen with a tertiary button, which might be the start of a long-press.
finalinherited
onTertiaryLongPressEnd GestureLongPressEndCallback?
A pointer that has triggered a long-press with a tertiary button has stopped contacting the screen.
finalinherited
onTertiaryLongPressMoveUpdate GestureLongPressMoveUpdateCallback?
A pointer has been drag-moved after a long press with a tertiary button.
finalinherited
onTertiaryLongPressStart GestureLongPressStartCallback?
Called when a long press gesture with a tertiary button has been recognized.
finalinherited
onTertiaryLongPressUp GestureLongPressUpCallback?
A pointer that has triggered a long-press with a tertiary button has stopped contacting the screen.
finalinherited
onTertiaryTapCancel GestureTapCancelCallback?
The pointer that previously triggered onTertiaryTapDown will not end up causing a tap.
finalinherited
onTertiaryTapDown GestureTapDownCallback?
A pointer that might cause a tap with a tertiary button has contacted the screen at a particular location.
finalinherited
onTertiaryTapUp GestureTapUpCallback?
A pointer that will trigger a tap with a tertiary button has stopped contacting the screen at a particular location.
finalinherited
onVerticalDragCancel GestureDragCancelCallback?
The pointer that previously triggered onVerticalDragDown did not complete.
finalinherited
onVerticalDragDown GestureDragDownCallback?
A pointer has contacted the screen with a primary button and might begin to move vertically.
finalinherited
onVerticalDragEnd GestureDragEndCallback?
A pointer that was previously in contact with the screen with a primary button and moving vertically is no longer in contact with the screen and was moving at a specific velocity when it stopped contacting the screen.
finalinherited
onVerticalDragStart GestureDragStartCallback?
A pointer has contacted the screen with a primary button and has begun to move vertically.
finalinherited
onVerticalDragUpdate GestureDragUpdateCallback?
A pointer that is in contact with the screen with a primary button and moving vertically has moved in the vertical direction.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportedDevices Set<PointerDeviceKind>?
The kind of devices that are allowed to be recognized.
finalinherited
trackpadScrollCausesScale bool
Whether scrolling up/down on a trackpad should cause scaling instead of panning.
finalinherited
trackpadScrollToScaleFactor Offset
A factor to control the direction and magnitude of scale when converting trackpad scrolling.
finalinherited

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
inherited
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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