flutter_percent_indicator
flutter_percent_indicator copied to clipboard
Added a flag called animateForwardAlways to make sure if animateFromLastPercent is set, the progress bar doesn't animate backwards
Adding the animateForwardAlways flag will enable a user to set animateFromLastPercent but limit the behavior to only happen if the progress bar is moving forward (newPercentage > oldPercentage).
This behavior is needed for cases when the progress bar received percentage updates but sometimes needs to reset from zero (a browser loading bar, for example).
hey @minlite thanks for these changes, can you add a new sample inside SampleLinearPage showing this case?
Thanks
hey @minlite thanks for these changes, can you add a new sample inside
SampleLinearPageshowing this case? Thanks
Yes. Will do