ProgressBar constructor

const ProgressBar({
  1. Key? key,
  2. required double value,
  3. String? label,
  4. bool showPercentage = true,
  5. double height = 8,
  6. Color? color,
  7. Color? backgroundColor,
  8. ProgressVariant variant = ProgressVariant.linear,
})

Implementation

const ProgressBar({
  super.key,
  required this.value,
  this.label,
  this.showPercentage = true,
  this.height = 8,
  this.color,
  this.backgroundColor,
  this.variant = ProgressVariant.linear,
});