ZipFileLoader class

The loader for load and trasform data from ZIP-archives from file system. \warning Some files from ultra compression tools (for ex., 7Zip) doesn't extract correctly.

Inheritance

Constructors

ZipFileLoader()
const

Properties

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
sourceLoader Loader
no setter
temporaryFolder String
Overwrite this when a custom loader using a cache. \see clearCache
no setter

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.
inherited
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.
inherited
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.
inherited
loadString(String path) Future<String?>
\return String by path.
inherited
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
warmUp(String path) Future<bool>
\return true then file by path was found.
inherited

Operators

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