WavyAnimatedTextKit constructor

WavyAnimatedTextKit({
  1. Key? key,
  2. required List<String> text,
  3. TextAlign textAlign = TextAlign.start,
  4. TextStyle? textStyle,
  5. Duration speed = const Duration(milliseconds: 300),
  6. Duration pause = const Duration(milliseconds: 1000),
  7. VoidCallback? onTap,
  8. void onNext(
    1. int,
    2. bool
    )?,
  9. void onNextBeforePause(
    1. int,
    2. bool
    )?,
  10. VoidCallback? onFinished,
  11. bool isRepeatingAnimation = true,
  12. int totalRepeatCount = 3,
  13. bool repeatForever = true,
  14. bool displayFullTextOnTap = false,
  15. bool stopPauseOnTap = false,
})

Implementation

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