TProgressBar constructor

const TProgressBar({
  1. Key? key,
  2. double value = 0.0,
  3. bool indeterminate = false,
  4. bool flowing = false,
  5. double height = 8.0,
  6. Color? color,
  7. Color? backgroundColor,
  8. String? label,
  9. bool showPercentage = false,
  10. double borderRadius = 10.0,
  11. Duration animationDuration = const Duration(milliseconds: 300),
})

Creates a progress bar.

Implementation

const TProgressBar({
  super.key,
  this.value = 0.0,
  this.indeterminate = false,
  this.flowing = false,
  this.height = 8.0,
  this.color,
  this.backgroundColor,
  this.label,
  this.showPercentage = false,
  this.borderRadius = 10.0,
  this.animationDuration = const Duration(milliseconds: 300),
});