LinearProgressBarPainter constructor Null safety

LinearProgressBarPainter(
  1. {required double value,
  2. required double maxValue,
  3. Color progressColor = const Color.fromARGB(255, 133, 163, 242),
  4. Color backgroundColor = Colors.transparent}
)

Implementation

LinearProgressBarPainter({
  required this.value,
  required this.maxValue,
  this.progressColor = const Color.fromARGB(255, 133, 163, 242),
  this.backgroundColor = Colors.transparent,
});