SuperTextNumber constructor
SuperTextNumber(
- int number, {
- Key? key,
- String? prefixText,
- String? suffixText,
- TextStyle? style,
- SuperTextController? controller,
- Duration animDuration = const Duration(milliseconds: 200),
- SuperTextType type = SuperTextType.scale,
- TextAlign? textAlign,
- double? textScaleFactor,
- double? letterSpacing,
- 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(),
);