CockpitGestureAction class final

Constructors

CockpitGestureAction.doubleTap({CockpitTarget? target, CockpitTargetGeometry? geometry, Offset? origin, CockpitGestureAnchor anchor = CockpitGestureAnchor.center, Duration interval = const Duration(milliseconds: 90), PointerDeviceKind pointerDeviceKind = PointerDeviceKind.touch, int buttons = kPrimaryButton})
const
CockpitGestureAction.drag({CockpitTarget? target, CockpitTargetGeometry? geometry, Offset? origin, CockpitGestureAnchor anchor = CockpitGestureAnchor.center, required Offset delta, Duration duration = const Duration(milliseconds: 220), Duration holdDuration = Duration.zero, double touchSlopX = cockpitDefaultDragTouchSlop, double touchSlopY = cockpitDefaultDragTouchSlop, int moveEventCount = 0, CockpitGestureProfile profile = CockpitGestureProfile.userLike, double? sampleHz, Duration? frameInterval, Duration initialHoldDuration = Duration.zero, PointerDeviceKind pointerDeviceKind = PointerDeviceKind.touch, int buttons = kPrimaryButton})
const
CockpitGestureAction.fling({CockpitTarget? target, CockpitTargetGeometry? geometry, Offset? origin, CockpitGestureAnchor anchor = CockpitGestureAnchor.center, required Offset delta, Duration duration = const Duration(milliseconds: 96), int moveEventCount = 50, CockpitGestureProfile profile = CockpitGestureProfile.fast, double? sampleHz, Duration? frameInterval, Duration initialHoldDuration = Duration.zero, PointerDeviceKind pointerDeviceKind = PointerDeviceKind.touch, int buttons = kPrimaryButton})
const
CockpitGestureAction.longPress({CockpitTarget? target, CockpitTargetGeometry? geometry, Offset? origin, CockpitGestureAnchor anchor = CockpitGestureAnchor.center, Duration duration = const Duration(milliseconds: 600), PointerDeviceKind pointerDeviceKind = PointerDeviceKind.touch, int buttons = kPrimaryButton})
const
CockpitGestureAction.multiTouch({CockpitTarget? target, CockpitTargetGeometry? geometry, Offset? origin, CockpitGestureAnchor anchor = CockpitGestureAnchor.center, required CockpitMultiTouchSequence sequence})
const
CockpitGestureAction.panZoom({CockpitTarget? target, CockpitTargetGeometry? geometry, Offset? origin, CockpitGestureAnchor anchor = CockpitGestureAnchor.center, Offset delta = Offset.zero, double scale = 1.0, double rotation = 0.0, Duration duration = const Duration(milliseconds: 180), int moveEventCount = 0, CockpitGestureProfile profile = CockpitGestureProfile.userLike, double? sampleHz, Duration? frameInterval, Duration initialHoldDuration = Duration.zero})
const
CockpitGestureAction.pinchZoom({CockpitTarget? target, CockpitTargetGeometry? geometry, Offset? origin, CockpitGestureAnchor anchor = CockpitGestureAnchor.center, required double scale, double startSpan = 56, Duration duration = const Duration(milliseconds: 220), int moveEventCount = 0, CockpitGestureProfile profile = CockpitGestureProfile.precise, double? sampleHz, Duration? frameInterval, Duration initialHoldDuration = Duration.zero})
const
CockpitGestureAction.rotate({CockpitTarget? target, CockpitTargetGeometry? geometry, Offset? origin, CockpitGestureAnchor anchor = CockpitGestureAnchor.center, required double rotation, double startSpan = 56, Duration duration = const Duration(milliseconds: 220), int moveEventCount = 0, CockpitGestureProfile profile = CockpitGestureProfile.precise, double? sampleHz, Duration? frameInterval, Duration initialHoldDuration = Duration.zero})
const
CockpitGestureAction.swipe({CockpitTarget? target, CockpitTargetGeometry? geometry, Offset? origin, CockpitGestureAnchor anchor = CockpitGestureAnchor.center, required AxisDirection direction, double distanceFactor = 0.82, Duration duration = const Duration(milliseconds: 200), int moveEventCount = 0, CockpitGestureProfile profile = CockpitGestureProfile.userLike, double? sampleHz, Duration? frameInterval, Duration initialHoldDuration = Duration.zero, PointerDeviceKind pointerDeviceKind = PointerDeviceKind.touch, int buttons = kPrimaryButton})
const
CockpitGestureAction.tap({CockpitTarget? target, CockpitTargetGeometry? geometry, Offset? origin, CockpitGestureAnchor anchor = CockpitGestureAnchor.center, PointerDeviceKind pointerDeviceKind = PointerDeviceKind.touch, int buttons = kPrimaryButton})
const

Properties

anchor → CockpitGestureAnchor
final
buttons → int
final
delta → Offset
final
direction → AxisDirection
final
distanceFactor → double
final
duration → Duration
final
frameInterval → Duration?
final
geometry → CockpitTargetGeometry?
final
hashCode → int
The hash code for this object.
no setterinherited
holdDuration → Duration
final
initialHoldDuration → Duration
final
interval → Duration
final
moveEventCount → int
final
origin → Offset?
final
pointerDeviceKind → PointerDeviceKind
final
profile → CockpitGestureProfile
final
rotation → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sampleHz → double?
final
scale → double
final
sequence → CockpitMultiTouchSequence?
final
startSpan → double
final
target → CockpitTarget?
final
touchSlopX → double
final
touchSlopY → double
final
type → CockpitGestureActionType
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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