SVGADynamicEntity class

Inheritance

Constructors

SVGADynamicEntity()

Properties

dynamicDrawer → Map<String, SVGACustomDrawer>
final
dynamicHidden → Map<String, bool>
final
dynamicImages → Map<String, Image>
final
dynamicText → Map<String, TextPainter>
final
hashCode → int
The hash code for this object.
no setterinherited
hasListeners → bool
Whether any listeners are currently registered.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
dispose() → void
Discards any resources used by the object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
refresh() → void
Repaint after directly editing the public dynamic maps.
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
reset() → void
setDynamicDrawer(SVGACustomDrawer drawer, String forKey) → void
setHidden(bool value, String forKey) → void
setImage(Image image, String forKey) → void
Retains a clone; the caller keeps ownership of image.
setImageWithUrl(String url, String forKey, {Duration timeout = const Duration(seconds: 30), int maxBytes = 16 * 1024 * 1024, int maxPixels = 16777216}) → Future<void>
setText(TextPainter textPainter, String forKey, {bool owned = false}) → void
Lays out textPainter. By default it remains owned by the caller. Set owned to transfer ownership and release it on replacement/reset.
toString() → String
A string representation of this object.
inherited

Operators

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