AnimatedText constructor

AnimatedText({
  1. required String text,
  2. TextAlign textAlign = TextAlign.start,
  3. TextStyle? textStyle,
  4. required Duration duration,
})

Implementation

AnimatedText({
  required this.text,
  this.textAlign = TextAlign.start,
  this.textStyle,
  required this.duration,
}) : textCharacters = text.characters;