LinearProgressBar constructor

const LinearProgressBar({
  1. Key? key,
  2. required double progress,
  3. double height = 20,
  4. Color backgroundColor = const Color(0xFFE0E0E0),
  5. Color progressColor = Colors.teal,
  6. Duration animationDuration = const Duration(milliseconds: 500),
  7. BorderRadiusGeometry borderRadius = const BorderRadius.all(Radius.circular(12)),
})

Implementation

const LinearProgressBar({
  super.key,
  required this.progress,
  this.height = 20,
  this.backgroundColor = const Color(0xFFE0E0E0),
  this.progressColor = Colors.teal,
  this.animationDuration = const Duration(milliseconds: 500),
  this.borderRadius = const BorderRadius.all(Radius.circular(12)),
});