FastAnimatedNumberText constructor

const FastAnimatedNumberText({
  1. Key? key,
  2. required double endValue,
  3. TextAlign textAlign = TextAlign.left,
  4. Duration duration = const Duration(milliseconds: 350),
  5. FontWeight? fontWeight,
  6. double? fontSize,
  7. Color? textColor,
  8. String? locale,
  9. int minimumFractionDigits = 0,
  10. int maximumFractionDigits = 0,
  11. String? currencyCode,
})

Implementation

const FastAnimatedNumberText({
  super.key,
  required this.endValue,
  this.textAlign = TextAlign.left,
  this.duration = const Duration(milliseconds: 350),
  this.fontWeight,
  this.fontSize,
  this.textColor,
  this.locale,
  this.minimumFractionDigits = 0,
  this.maximumFractionDigits = 0,
  this.currencyCode,
});