patchbayUiGesturePressHoldCommandDescriptor top-level property

PatchbayCommandDescriptor patchbayUiGesturePressHoldCommandDescriptor
final

Implementation

final patchbayUiGesturePressHoldCommandDescriptor = _gesture(
  'ui.gesture.pressHold',
  'Press and hold inside a Semantics identifier target.',
  'uiGesturePressHold',
  'press-hold',
  'Press and hold an anchored target.',
  extraParameters: <PatchbayParameterDescriptor>[
    _p('durationMs', PatchbayParameterType.integer, defaultValue: 500),
  ],
  extraOptions: const <String, String>{'durationMs': 'duration-ms'},
  usageSuffix: '<identifier> <generation> --start <json> [--duration-ms <ms>]',
);