animated_vector_annotations library

A library to use in tandem with package:animated_vector and package:animated_vector_gen.

Contains annotations for code generation, such as ShapeshifterAsset.

Classes

AnimatedVectorData
Data for an animated vector, to use with widgets like AnimatedVector or inside a SequenceItem for AnimatedSequence.
AnimationInterval
An interval of time that defines when an animation starts and when it end. Very similar to flutter Interval but instead of using normalized values it instead uses more human friendly Duration values. It is nonetheless possible to get normalized values with normalizeWithDuration.
AnimationStep<T>
A step of an AnimationStepSequence. Needs a tween with at least one of begin or end to be non null. This step will be animated in the period of time defined by interval.
ClipPathAnimationProperties
An AnimationProperties subclass for ClipPathElement.
ClipPathElement
An element that applies a clip to other elements based on its pathData.
Color
An immutable 32 bit color value in ARGB format.
ConstColorTween
Specialized subclass of ConstTween for tweening between colors. It calls Color.lerp inside its transform method. Mirrors ColorTween from flutter.
ConstPathDataTween
Specialized subclass of ConstTween for tweening between path data. It calls PathData.lerp inside its transform method.
ConstTween<T>
A class that is very similar to flutter's Tween but has its fields immutable and the constructor is const. Was mainly created to allow for completely consts AnimatedVectorData instances.
GroupAnimationProperties
An AnimationProperties subclass for GroupElement.
GroupElement
The vector element that groups elements together.
PathAnimationProperties
An AnimationProperties subclass for PathElement.
PathData
A class that represents svg path data.
PathElement
A vector element that draws svg path data.
RootVectorAnimationProperties
An AnimationProperties subclass for RootVectorElement.
RootVectorElement
The vector element that represents the root of a vector.
ShapeShifterAsset
An annotation to generate AnimatedVectorData from a shapeshifter file.
ShapeShifterCurves
A collection of curves used by ShapeShifter. Mostly used by animated_vector_gen.
Size
Holds a 2D floating-point size.

Enums

StrokeCap
Styles to use for line endings.
StrokeJoin
Styles to use for line segment joins.