AbstractCache class Null safety

Widget that displays an image from network (and cache while waiting).

Constructors

AbstractCache(String? iconUrl, {double? width, double? height, bool displayAssetWhileWaiting = true})
const
AbstractCache.best({String? iconUrl, double? width, double? height, dynamic color})
Returns the best cache possibility: none, svg or png/jpeg
factory

Properties

displayAssetWhileWaiting bool
final
hashCode int
The hash code for this object. [...]
read-only, inherited
height double?
final
iconUrl String?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
width double?
final

Methods

getCachedFilenames() List<String>
Returns a list of possible related cached filenames.
getCacheFilename(String filename) String
Returns the path to the asset cached file (not tintable version).
getCacheTintableFilename(String filename) String
Returns the path to the asset cached tintable file.
getCircularProgressIndicator() → dynamic
getDefaultUnknown() → dynamic
getFilename() String?
Returns the simple filename of the icon url (without the full path).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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