file_picker_writable library
Classes
- ErrorEvent
- FileInfo
- Contains information about a user selected file.
- FilePickerState
- State of the FilePickerWritable plugin to add listeners for events like file opening and error handling.
- FilePickerWritable
- Singleton to accessing services of the FilePickerWritable plugin.
Typedefs
-
ErrorEventHandler
= Future<
bool> Function(ErrorEvent errorEvent) -
FileInfoHandler
= FutureOr<
bool> Function(FileInfo fileInfo) -
FileOpenHandler
= FutureOr<
bool> Function(FileInfo fileInfo, File file) -
FileOpenHandlers are registered as callbacks to be called when
the app is launched for a file selection.
file
(andfileInfo
.file will be deleted after this function completes.) -
FileReader<
T> = Future< T> Function(FileInfo fileInfo, File file) - UriHandler = bool Function(Uri uri)