flutter_percent_indicator icon indicating copy to clipboard operation
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

Open minlite opened this issue 4 years ago • 2 comments

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).

minlite avatar Mar 13 '21 23:03 minlite

hey @minlite thanks for these changes, can you add a new sample inside SampleLinearPage showing this case? Thanks

diegoveloper avatar Mar 13 '21 23:03 diegoveloper

hey @minlite thanks for these changes, can you add a new sample inside SampleLinearPage showing this case? Thanks

Yes. Will do

minlite avatar Mar 13 '21 23:03 minlite