animated_text_lerp library

Classes

AnimatedNumberText<T extends num>
Widget that show a Text widget, which will animate between AnimatedNumberText.data. The type of this data must be int or double.
AnimatedStringText
Widget that show a Text widget, which will animate between AnimatedStringText.data. Each character in the old AnimatedStringText.data and new AnimatedStringText.data will animate to each other respectively.

Typedefs

ValueFormatter<T extends num> = String Function(T value)
Signature for formatting result text of AnimatedNumberText. Use this to replace the default num.toString behavior. One example could be to use with intl package to obtain currency format of a number.