ProgressBar constructor
const
ProgressBar({
- Key? key,
- Color backgroundColor = const Color(0xeecccccc),
- Color progressColor = const Color(0xffADDE98),
- bool showProgressText = false,
- Color progressTextColor = const Color(0xff333333),
- double progressTextSize = 11,
- double maxValue = 100,
- double progress = 0,
- double width = 100,
- double height = 16,
- double radius = 20,
- 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);