FlutterSvg class

A utility class for decoding SVG data to a DrawableRoot or a PictureInfo.

These methods are used by SvgPicture, but can also be directly used e.g. to create a DrawableRoot you manipulate or render to your own Canvas. Access to this class is provided by the exported svg member.

Properties

cache FlutterSvgCache
The cache instance for decoded SVGs.
final
cacheColorFilterOverride bool?
A global override flag for SvgPicture.cacheColorFilter.
getter/setter pair
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