Assigning width as `double.maxFinite `stops the transition animation from current state to success and vice versa.
Assigning width as
double.maxFinitestops the transition animation from current state to success and vice versa.