AnimatedProgressBar constructor

const AnimatedProgressBar({
  1. Key? key,
  2. required Duration duration,
  3. required Color foregroundColor,
  4. required Color backgroundColor,
})

Creates a bar that empties over duration. / duration boyunca boşalan bir çubuk oluşturur.

Implementation

const AnimatedProgressBar({super.key, required this.duration, required this.foregroundColor, required this.backgroundColor});