DropzoneViewController class

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
viewId int
final
widget DropzoneView
final

Methods

createFileUrl(dynamic htmlFile) Future<String>
Create a temporary URL to the passed HTML file.
getFileData(dynamic htmlFile) Future<Uint8List>
Get the contents of the passed HTML file.
getFileLastModified(dynamic htmlFile) Future<DateTime>
Get the last modified date of the passed HTML file.
getFileMIME(dynamic htmlFile) Future<String>
Get the MIME type of the passed HTML file.
getFilename(dynamic htmlFile) Future<String>
Get the filename of the passed HTML file.
getFileSize(dynamic htmlFile) Future<int>
Get the size of the passed HTML file.
getFileStream(dynamic htmlFile) Stream<List<int>>
Get the contents of the passed HTML file as a chunked stream.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pickFiles({bool multiple = false, List<String> mime = const []}) Future<List>
Convenience function to display the browser File Open dialog.
releaseFileUrl(String fileUrl) Future<bool>
Release a temporary URL previously created using createFileUrl().
setCursor(CursorType cursor) Future<bool>
Specify the CursorType of the dropzone. CursorType is one the CSS cursor types.
setMIME(List<String> mimes) Future<bool>
Specify the list of accepted MIME types.
setOperation(DragOperation operation) Future<bool>
Specify the DragOperation while dragging the file.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited