file_picker_writable library Null safety

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)
@Deprecated('Use [FileOpenHandler] instead.')
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 (and fileInfo.file will be deleted after this function completes.)
FileReader<T> = Future<T> Function(FileInfo fileInfo, File file)
UriHandler = bool Function(Uri uri)