PatchbayGestureBridge class final

Identifier-anchored synthetic pointer gestures for debug builds.

Constructors

PatchbayGestureBridge({required PatchbayGateEvaluator gates, required PatchbaySemanticsBridge semantics, PatchbayGesturePolicy? policy, PatchbayPointerEventDispatcher? pointerDispatcher, PatchbayGestureDelay? delay, bool isAppResumed()?, PatchbayLifecycleStateReader? lifecycleState, String newRequestId()?})

Properties

enabled bool
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

drag({required String identifier, required int generation, required Map<String, Object?> start, required List<Object?> path, int durationMs = 300, String? requestId}) Future<PatchbayInvocation>
fling({required String identifier, required int generation, required Map<String, Object?> start, required Map<String, Object?> velocity, int durationMs = 100, String? requestId}) Future<PatchbayInvocation>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pressHold({required String identifier, required int generation, required Map<String, Object?> start, int durationMs = 500, String? requestId}) Future<PatchbayInvocation>
tap({required String identifier, required int generation, Map<String, Object?>? start, String? requestId}) Future<PatchbayInvocation>
按下即抬起的最短固定序列;要按住用 pressHold,语义写在命令名上而不是 数值里。start 缺省即目标中心,与 descriptor 声明的默认一致。
toString() String
A string representation of this object.
inherited

Operators

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

Constants

maxDurationMs → const int
maxPathPoints → const int
maxVelocity → const double