onDragIntercepted property
Emitted only when Input.setInterceptDrags
is enabled. Use this data with Input.dispatchDragEvent
to
restore normal drag and drop behavior.
Implementation
Stream<DragData> get onDragIntercepted => _client.onEvent
.where((event) => event.name == 'Input.dragIntercepted')
.map(
(event) =>
DragData.fromJson(event.parameters['data'] as Map<String, dynamic>),
);