onHover method

Stream<DropzoneHoverEvent> onHover({
  1. required int viewId,
})
inherited

Event called when the user hovers over a dropzone.

Implementation

Stream<DropzoneHoverEvent> onHover({required int viewId}) {
  return events.stream //
      .where((event) => event.viewId == viewId && event is DropzoneHoverEvent)
      .cast<DropzoneHoverEvent>();
}