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
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