AnimatedTextKit constructor

const AnimatedTextKit({
  1. Key? key,
  2. required List<String> texts,
  3. AnimatedTextEffect effect = AnimatedTextEffect.typewriter,
  4. TextStyle? textStyle,
  5. Duration duration = const Duration(milliseconds: 80),
  6. Duration pause = const Duration(seconds: 2),
  7. bool repeat = true,
  8. VoidCallback? onFinished,
})

Implementation

const AnimatedTextKit({
  super.key,
  required this.texts,
  this.effect = AnimatedTextEffect.typewriter,
  this.textStyle,
  this.duration = const Duration(milliseconds: 80),
  this.pause = const Duration(seconds: 2),
  this.repeat = true,
  this.onFinished,
});