SymbolCache class Null safety

An abstract cache for symbols (small bitmaps used in the map, eg. stopsigns, arrows). The class retrieves and caches requested symbols. It also resizes them if desired.

Implementers

Constructors

SymbolCache()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

dispose() → void
Disposes the cache. It should not be used afterwards
getSymbol(String? src, int width, int height, int? percent) Future<ResourceBitmap?>
loads and returns the desired symbol, optionally rescales it to the given width and height
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