Avd class

A set of helper methods for decoding Android Vector Drawables to Drawable.

AVD support is experimental and very incomplete. Use at your own risk.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

avdPictureDecoder(Uint8List raw, bool allowDrawingOutsideOfViewBox, ColorFilter? colorFilter, String key) Future<PictureInfo>
Decodes an Android Vector Drawable from a Uint8List to a PictureInfo object.
avdPictureStringDecoder(String raw, bool allowDrawingOutsideOfViewBox, ColorFilter? colorFilter, String key) Future<PictureInfo>
Decodes an Android Vector Drawable from a String to a PictureInfo object.
fromAvdBytes(Uint8List raw, String key) Future<DrawableRoot>
Produces a Drawableroot from a Uint8List of AVD byte data (assumes UTF8 encoding).
fromAvdString(String rawSvg, String key) DrawableRoot
Creates a DrawableRoot from a string of Android Vector Drawable data.
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