ProgressBar is a basic linear indicator widget. It's a Stateless Widget that produces basic horizontal rounded rectangle with optional background rounded rectangle underneath.
Include it in your build method like:
backgroundColor - solid indicator background color, defaults to transparent
Minimum working widget requires only a value and color OR gradient property. NOTE: Specifying both properties is not accepted.
ProgressBarAnimation
ProgressBarAnimation is a simple animating progress bar widget.
It animates ProgressBar widget for a given duration.
Animation starts at the time the widget is built.
AnimatedProgressBar is a ImplicitlyAnimatedWidget. It behaves like other flutter AnimatedFoo widgets. This animates value parameter changes for a given duration. Animation starts only when one (initial) value changes to other (final) value. See the example below.
It has several configurable parameters:
value - value widget animates to, need to be changed
duration - initial value to final value animation duration