LottieDelegates class

Annotations

Constructors

LottieDelegates({String text(String)?, TextStyle textStyle(LottieFontStyle)?, List<ValueDelegate>? values, Image? image(LottieComposition, LottieImageAsset)?})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
image Image? Function(LottieComposition, LottieImageAsset)?
A callback to dynamically change an image of the animation.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String Function(String)?
Specify a callback to dynamically changes the text displayed in the lottie animation. For instance, this is useful when you want to translate the text in the animation.
final
textStyle TextStyle Function(LottieFontStyle)?
A callback to map between a font family specified in the json animation with the font family in your assets. This is useful either if:
final
values List<ValueDelegate>?
A list of value delegates to dynamically modify the animation properties at runtime.
final

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 ==(Object other) bool
The equality operator.
override