DropzoneView class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- DropzoneView
Constructors
-
DropzoneView({Key? key, DragOperation? operation, CursorType? cursor, List<
String> ? mime, Set<Factory< ? gestureRecognizers, DropzoneViewCreatedCallback? onCreated, VoidCallback? onLoaded, ValueChanged<OneSequenceGestureRecognizer> >String?> ? onError, VoidCallback? onHover, ValueChanged? onDrop, ValueChanged<String?> ? onDropInvalid, ValueChanged<List?> ? onDropMultiple, VoidCallback? onLeave}) -
const
Properties
- cursor → CursorType?
-
final
-
gestureRecognizers
→ Set<
Factory< ?OneSequenceGestureRecognizer> > -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
mime
→ List<
String> ? -
final
- onCreated → DropzoneViewCreatedCallback?
-
final
- onDrop → ValueChanged?
-
Event called when the user drops a file onto the dropzone.
final
-
onDropInvalid
→ ValueChanged<
String?> ? -
Event called when the user tries to drop an invalid file onto the dropzone.
final
-
onDropMultiple
→ ValueChanged<
List?> ? -
Event called when the user drops multiple files onto the dropzone.
final
-
onError
→ ValueChanged<
String?> ? -
Event called if the dropzone view has an error.
final
- onHover → VoidCallback?
-
Event called when the dropzone view is hovered during a drag-drop.
final
- onLeave → VoidCallback?
-
Event called when the user leaves a dropzone.
final
- onLoaded → VoidCallback?
-
Event called when the dropzone view has been loaded.
final
- operation → DragOperation?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< DropzoneView> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of
DiagnosticsNode
objects describing this node's children.inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited