AnimatedTextBase constructor

const AnimatedTextBase(
  1. String text, {
  2. Key? key,
  3. Duration duration = const Duration(milliseconds: 2000),
  4. TextStyle? style,
  5. AnimatedTextMode mode = AnimatedTextMode.forward,
  6. bool autoStart = true,
  7. AnimationController? controller,
  8. VoidCallback? onStarted,
  9. VoidCallback? onCompleted,
  10. 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,
});