a helper to make animated linear and circular progress indicator
Added animation to the increase and decrease of the flutter progress indicator
example can be followed to to achieve same result
demo
example