ProgressBar constructor

const ProgressBar({
  1. Key? key,
  2. Color backgroundColor = const Color(0xeecccccc),
  3. Color progressColor = const Color(0xffADDE98),
  4. bool showProgressText = false,
  5. Color progressTextColor = const Color(0xff333333),
  6. double progressTextSize = 11,
  7. double maxValue = 100,
  8. double progress = 0,
  9. double width = 100,
  10. double height = 16,
  11. double radius = 20,
  12. OnBuildProgressBarCall? buildCall,
})

Implementation

const ProgressBar({
  Key? key,
  this.backgroundColor = const Color(0xeecccccc),
  this.progressColor = const Color(0xffADDE98),
  this.showProgressText = false,
  this.progressTextColor = const Color(0xff333333),
  this.progressTextSize = 11,
  this.maxValue = 100,
  this.progress = 0,
  this.width = 100,
  this.height = 16,
  this.radius = 20,
  this.buildCall,
}) : super(key: key);