SuperTextNumber constructor

SuperTextNumber(
  1. int number, {
  2. Key? key,
  3. String? prefixText,
  4. String? suffixText,
  5. TextStyle? style,
  6. SuperTextController? controller,
  7. Duration animDuration = const Duration(milliseconds: 200),
  8. SuperTextType type = SuperTextType.scale,
  9. TextAlign? textAlign,
  10. double? textScaleFactor,
  11. double? letterSpacing,
  12. Axis direction = Axis.horizontal,
})

Constructs a SuperTextNumber widget.

Implementation

SuperTextNumber(
  this.number, {
  super.key,
  super.prefixText,
  super.suffixText,
  super.style,
  super.controller,
  super.animDuration,
  super.type,
  super.textAlign,
  super.textScaleFactor,
  super.letterSpacing,
  super.direction,
}) : super(
        number.toString(),
      );