patchbayUiGestureDragCommandDescriptor top-level property
Implementation
final patchbayUiGestureDragCommandDescriptor = _gesture(
'ui.gesture.drag',
'Drag through bounded target-local points.',
'uiGestureDrag',
'drag',
'Drag through an anchored target-local path.',
extraParameters: <PatchbayParameterDescriptor>[
_p('path', PatchbayParameterType.json, required: true),
_p('durationMs', PatchbayParameterType.integer, defaultValue: 300),
],
extraOptions: const <String, String>{
'path': 'gesture-path',
'durationMs': 'duration-ms',
},
usageSuffix:
'<identifier> <generation> --start <json> --gesture-path <json> '
'[--duration-ms <ms>]',
);