PlainUrlLoader class

The loader for load and trasform data from Internet by URL.

Inheritance

Constructors

PlainUrlLoader({required String base})
const

Properties

base String
final
cacheManager → CacheManager
The cache for Loader.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
localPath Future<String>
\see clearCache \see temporaryFolder
no setterinherited
log Log
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
temporaryFolder String
Overwrite this when a custom loader using a cache. \see clearCache
no setterinherited

Methods

clearCache() Future<void>
Clear cache for this Loader. \see localPath \see temporaryFolder
inherited
exists(String path) Future<bool>
\return true then file by path exists.
override
existsInCache(String path) Future<bool>
\return true then file by path exists in cache.
inherited
loadFile(String path) Future<File?>
\return File object by path.
override
loadImageUi(String path) Future<Image?>
\return ui.Image object by path.
inherited
loadImageWidget(String path, {double? width, double? height, BoxFit? fit, ImageErrorWidgetBuilder? errorBuilder}) Future<Image?>
\return widgets.Image object by path.
override
loadString(String path) Future<String?>
\return String by path.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notExists(String path) Future<bool>
\see exists
inherited
toString() String
A string representation of this object.
inherited
url(String path) String
warmUp(String path) Future<bool>
\return true then file by path was found.
inherited

Operators

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