KntRectangleProgress constructor

const KntRectangleProgress({
  1. Key? key,
  2. double? progress,
  3. double? width,
  4. double? height,
  5. double? heightFactor,
  6. bool needShowPercentage = false,
  7. Widget itemPercentage(
    1. double
    )?,
  8. Color? color,
  9. Color? backgroundColor,
  10. Color? percentageColor,
  11. double? borderRadius,
  12. Duration? duration,
})

Implementation

const KntRectangleProgress({
  super.key,
  this.progress,
  this.width,
  this.height,
  this.heightFactor,
  this.needShowPercentage = false,
  this.itemPercentage,
  this.color,
  this.backgroundColor,
  this.percentageColor,
  this.borderRadius,
  this.duration,
});