onDrop method
- @Deprecated('Use onDropFile or onDropString instead.')
- required int viewId,
inherited
Event called when the user drops a file onto the dropzone.
Implementation
@Deprecated('Use onDropFile or onDropString instead.')
Stream<DropzoneDropEvent> onDrop({required int viewId}) {
return events.stream //
.where((event) => event.viewId == viewId && event is DropzoneDropEvent)
.cast<DropzoneDropEvent>();
}