SvgData class

A proxy class to the package flutter_svg.

Constructors

SvgData([Picture? picture])
Creates a new SvgData object with optional picture.

Properties

color Color?
The color of the SVG. If null, the original color will be used.
getter/setter pair
hasContent bool?
Indicates whether the SvgData has valid content or not.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
picture Picture?
The Picture object containing the SVG data.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size GRect
The size of the SVG.
getter/setter pair
viewBox GRect?
The viewBox of the SVG.
getter/setter pair

Methods

dispose() → void
Dispose the SvgData object by releasing the Picture instance and setting the hasContent flag to false.
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