vector_graphics_compat library

Classes

AssetBytesLoader
Loads vector graphics data from an asset bundle.
BytesLoader
An interface that can be implemented to support decoding vector graphic binary assets from different byte sources.
NetworkBytesLoader
A controller for loading vector graphics data from over the network.
PictureInfo
The deocded result of a vector graphics asset.
VectorGraphic
A widget that displays a VectorGraphicsCodec encoded asset.
VectorGraphicUtilities
Utility functionality for interaction with vector graphic assets.

Enums

RenderingStrategy
How the vector graphic will be rendered by the Flutter framework.

Constants

vg → const VectorGraphicUtilities
The VectorGraphicUtilities instance.

Functions

createCompatVectorGraphic({Key? key, required BytesLoader loader, double? width, double? height, BoxFit fit = BoxFit.contain, AlignmentGeometry alignment = Alignment.center, String? semanticsLabel, bool excludeFromSemantics = false, Clip clipBehavior = Clip.hardEdge, WidgetBuilder? placeholderBuilder, VectorGraphicsErrorWidget? errorBuilder, ColorFilter? colorFilter, Animation<double>? opacity, RenderingStrategy strategy = RenderingStrategy.picture, bool clipViewbox = true, bool matchTextDirection = false}) VectorGraphic
A vector graphic/flutter_svg compatibility shim.