QudsAnimatedText constructor

const QudsAnimatedText(
  1. String text, {
  2. Key? key,
  3. TextStyle? style,
  4. Duration duration = const Duration(milliseconds: 200),
})

text the text will be shown, must not be null style the text style of the shown text. duration the duration of the flip transition about old and new text.

Implementation

const QudsAnimatedText(this.text,
    {Key? key, this.style, this.duration = const Duration(milliseconds: 200)})
    : super(key: key);