CircularProgressBar constructor

const CircularProgressBar({
  1. Key? key,
  2. required double progress,
  3. double size = 100,
  4. double strokeWidth = 8,
  5. Color backgroundColor = const Color(0xFFE0E0E0),
  6. Color progressColor = Colors.teal,
  7. Duration animationDuration = const Duration(milliseconds: 800),
})

Implementation

const CircularProgressBar({
  super.key,
  required this.progress,
  this.size = 100,
  this.strokeWidth = 8,
  this.backgroundColor = const Color(0xFFE0E0E0),
  this.progressColor = Colors.teal,
  this.animationDuration = const Duration(milliseconds: 800),
});