AnimatedTextBase constructor
const
AnimatedTextBase(
- String text, {
- Key? key,
- Duration duration = const Duration(milliseconds: 2000),
- TextStyle? style,
- AnimatedTextMode mode = AnimatedTextMode.forward,
- bool autoStart = true,
- AnimationController? controller,
- VoidCallback? onStarted,
- VoidCallback? onCompleted,
- VoidCallback? onRepeated,
Implementation
const AnimatedTextBase(
this.text, {
super.key,
this.duration = const Duration(milliseconds: 2000),
this.style,
this.mode = AnimatedTextMode.forward,
this.autoStart = true,
this.controller,
this.onStarted,
this.onCompleted,
this.onRepeated,
});