ScaleAnimatedText constructor

ScaleAnimatedText(
  1. String text, {
  2. TextAlign textAlign = TextAlign.start,
  3. TextStyle? textStyle,
  4. Duration duration = const Duration(milliseconds: 2000),
  5. double scalingFactor = 0.5,
})

Implementation

ScaleAnimatedText(
  String text, {
  TextAlign textAlign = TextAlign.start,
  TextStyle? textStyle,
  Duration duration = const Duration(milliseconds: 2000),
  this.scalingFactor = 0.5,
}) : super(
        text: text,
        textAlign: textAlign,
        textStyle: textStyle,
        duration: duration,
      );