finder library Null safety

Classes

Finder
FinderImage
UriImage

Functions

defaultResolve(Uri uri, Directory root) FutureOr<File>
loadFile(Uri uri, File save, {Map<String, Object>? headers, ProgressListener? listener}) Future<File>
loadHttp(Uri uri, File save, {Map<String, Object>? headers, ProgressListener? listener}) Future<File>
withAsset({required String assetName, String? packageName}) Uri

Typedefs

ErrorBuilder = Widget Function(BuildContext context, Object? error)
LoadingBuilder = Widget Function(BuildContext context)
PathResolver = FutureOr<File> Function(Uri uri, Directory root)
returns File must not be null, the file will be used for saving.
ProgressListener = void Function(int total, int cached, int percent)
total the file's size cached cached file's size percent the progress 0, 100
UriLoader = Future<File> Function(Uri uri, File save, {Map<String, Object>? headers, ProgressListener? listener})
Load the file from uri and save to save