Finder class abstract

Constructors

Finder()
factory

Properties

defaultLoader UriLoader?
If no UriLoader for specified Uri,this will be used.
getter/setter pair
defaultResolver PathResolver
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getData(Uri uri, {Map<String, Object>? headers, ProgressListener? listener}) Future<Uint8List>
This will be cached to disk and memory. headers will be used for http/https Uri
getFile(Uri uri, {Map<String, Object>? headers, ProgressListener? listener}) Future<File>
This will be cached to disk. headers will be used for http/https Uri
memoryCachePolicy(int maxSize, {SizeOf<Uri, Uint8List> sizeOf = defaultSizeOf}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onlyMemory(Uri uri) Uint8List?
onlyRemote(Uri uri, {Map<String, Object>? headers, ProgressListener? listener}) Future<File>
onlyStorage(Uri uri) Future<File?>
registerPathResolver(String scheme, PathResolver resolver) → void
Register a PathResolver for specified scheme scheme: http, https, file etc. KScheme and global defaultResolver provided by default.
registerUriLoader(String scheme, UriLoader loader) → void
Register a UriLoader for specified scheme scheme: http, https, file etc. http, https, file and KScheme provided by default.
toString() String
A string representation of this object.
inherited
unregisterPathResolver(String scheme) → void
unregisterUriLoader(String scheme) → void

Operators

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

Static Properties

loggable bool
getter/setter pair