ProgressBar constructor

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

Creates a ProgressBar.

Implementation

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