triggerOnRebuild property
When it is set to true, animation will try to trigger on rebuild.
If animation is completed (stopped at the upperBound) then the animation is reversed, and if the animation is dismissed (stopped at the lowerBound) then the animation is forwarded. IF animation is running nothing will happen.
Implementation
final bool triggerOnRebuild;