WavyAnimatedText constructor

WavyAnimatedText(
  1. String text, {
  2. TextAlign textAlign = TextAlign.start,
  3. TextStyle? textStyle,
  4. Duration speed = const Duration(milliseconds: 300),
})

Implementation

WavyAnimatedText(
  String text, {
  TextAlign textAlign = TextAlign.start,
  TextStyle? textStyle,
  this.speed = const Duration(milliseconds: 300),
}) : super(
        text: text,
        textAlign: textAlign,
        textStyle: textStyle,
        duration: speed * text.characters.length,
      );