AnimatedTextKit constructor
const
AnimatedTextKit({
- Key? key,
- required List<
String> texts, - AnimatedTextEffect effect = AnimatedTextEffect.typewriter,
- TextStyle? textStyle,
- Duration duration = const Duration(milliseconds: 80),
- Duration pause = const Duration(seconds: 2),
- bool repeat = true,
- 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,
});