Problem.
There is no way to update particular Widget at specific time and specific direction.
Workaround.
To animate item in specific time to specific direction we need to save last Animationvalue provided by Animator and set parameter resetAnimationOnRebuild to true. Then based on previous saved value decide direction for next animation and recreate entire Widget with Animator. This all in order to play it.
Consider.
Allow to retrieve some contract (interface) fromAnimator (probably via GlobalKey). In order to call simple functions with animation (forward, start, reverse,) to particular direction.
Problem. There is no way to update particular
Widget
at specific time and specific direction.Workaround. To animate item in specific time to specific direction we need to save last
Animation
value
provided byAnimator
and set parameterresetAnimationOnRebuild
to true. Then based on previous saved value decide direction for next animation and recreate entire Widget withAnimator
. This all in order to play it.Consider. Allow to retrieve some contract (interface) from
Animator
(probably viaGlobalKey
). In order to call simple functions with animation (forward, start, reverse,) to particular direction.