TypewriterAnimatedTextKit constructor
TypewriterAnimatedTextKit({
- Key? key,
- required List<
String> text, - TextAlign textAlign = TextAlign.start,
- required TextStyle textStyle,
- Duration speed = const Duration(milliseconds: 30),
- Duration pause = const Duration(milliseconds: 1000),
- bool displayFullTextOnTap = false,
- bool stopPauseOnTap = false,
- VoidCallback? onTap,
- void onNext()?,
- void onNextBeforePause()?,
- VoidCallback? onFinished,
- bool isRepeatingAnimation = true,
- bool repeatForever = true,
- int totalRepeatCount = 3,
- Curve curve = Curves.linear,
Implementation
TypewriterAnimatedTextKit({
super.key,
required List<String> text,
TextAlign textAlign = TextAlign.start,
required TextStyle textStyle,
Duration speed = const Duration(milliseconds: 30),
super.pause,
super.displayFullTextOnTap,
super.stopPauseOnTap,
super.onTap,
super.onNext,
super.onNextBeforePause,
super.onFinished,
super.isRepeatingAnimation,
super.repeatForever = true,
super.totalRepeatCount,
Curve curve = Curves.linear,
}) : super(
animatedTexts:
_animatedTexts(text, textAlign, textStyle, speed, curve),
);