IconService class
Loads Iconify SVGs with memory cache, disk cache, and in-flight dedupe.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
clearAllCaches(
) → Future< void> - Clears memory, in-flight, and SharedPreferences icon entries.
-
clearMemoryCache(
) → void - Clears memory and in-flight caches. Disk entries remain.
-
getIcon(
String icon) → Future< String?> -
Returns SVG markup for
icon(prefix:name), or null if unavailable.