DropzoneView constructor
const
DropzoneView({
- Key? key,
- DragOperation? operation,
- CursorType? cursor,
- List<
String> ? mime, - Set<
Factory< ? gestureRecognizers,OneSequenceGestureRecognizer> > - DropzoneViewCreatedCallback? onCreated,
- VoidCallback? onLoaded,
- ValueChanged<
String?> ? onError, - VoidCallback? onHover,
- ValueChanged? onDrop,
- ValueChanged<
String?> ? onDropInvalid, - ValueChanged<
List?> ? onDropMultiple, - VoidCallback? onLeave,
Implementation
const DropzoneView({
Key? key,
this.operation,
this.cursor,
this.mime,
this.gestureRecognizers,
this.onCreated,
this.onLoaded,
this.onError,
this.onHover,
this.onDrop,
this.onDropInvalid,
this.onDropMultiple,
this.onLeave,
}) : assert(onDrop != null || onDropMultiple != null,
'Either onDrop or onDropMultiple is required'),
super(key: key);