text property

String Function(String)? text
final

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.

Implementation

final String Function(String)? text;