VectorGraphics class

Constructors

VectorGraphics(Uint8List bytes, {Map<int, Token<Color>>? colors})
const
VectorGraphics.fromBase64(String value, {Map<int, Token<Color>>? colors})
factory
VectorGraphics.fromSvg(String svg, {Color currentColor = Color.opaqueBlack, double fontSize = 14, double? xHeight})
factory

Properties

bytes → Uint8List
The encoded result of the vector_graphics.
final
colors → Map<int, Token<Color>>?
final
hashCode → int
The hash code for this object.
no setteroverride
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 ==(covariant VectorGraphics other) → bool
The equality operator.
override