CircularProgressBar constructor
const
CircularProgressBar({
- Key? key,
- required double minValue,
- required double maxValue,
- required double initialValue,
- required Widget icon,
- required String calculationCriteria,
- double size = 250.0,
- Color? backgroundColor,
- Color? progressColor,
- Color? markColor,
- Color? borderColor,
- Color? dialogBackgroundColor,
- Color? dialogTextColor,
- Color? buttonColor,
- Color? buttonTextColor,
- Color? cancelButtonColor,
- Color? cancelButtonTextColor,
- void onChanged()?,
Implementation
const CircularProgressBar({
Key? key,
required this.minValue,
required this.maxValue,
required this.initialValue,
required this.icon,
required this.calculationCriteria,
this.size = 250.0, // Default size
this.backgroundColor,
this.progressColor,
this.markColor,
this.borderColor,
this.dialogBackgroundColor,
this.dialogTextColor,
this.buttonColor,
this.buttonTextColor,
this.cancelButtonColor,
this.cancelButtonTextColor,
this.onChanged, // Initialize the new parameter
}) : super(key: key);