ProgressLoader constructor

const ProgressLoader({
  1. Key? key,
  2. double width = 120,
  3. double height = 22,
  4. int duration = 2,
  5. Color borderColor = Colors.white,
  6. Color progressColor = Colors.white,
})

Implementation

const ProgressLoader(
    {super.key,
    this.width = 120,
    this.height = 22,
    this.duration = 2,
    this.borderColor = Colors.white,
    this.progressColor = Colors.white})
    : assert(width > 0 && height > 0 && duration > 0);