NumberProgress constructor

const NumberProgress({
  1. Key? key,
  2. double height = 10.0,
  3. double value = 0.0,
  4. Color? backgroundColor,
  5. Color? valueColor,
  6. Color textColor = Colors.white,
  7. double textSize = 8.0,
  8. EdgeInsetsGeometry padding = EdgeInsets.zero,
  9. AlignmentGeometry textAlignment = Alignment.center,
})

Implementation

const NumberProgress(
    {Key? key,
    this.height = 10.0,
    this.value = 0.0,
    this.backgroundColor,
    this.valueColor,
    this.textColor = Colors.white,
    this.textSize = 8.0,
    this.padding = EdgeInsets.zero,
    this.textAlignment = Alignment.center})
    : super(key: key);