Not Monitored
Tag not monitored by Microsoft.
27,208 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm studying AnimationController.
It's working. But always have to call cleanup.
How do I not to reset each time?
If i want to animate control, call this code.
animation_controller_.CleanUpGroup(1);
animation_color_ = default_color;
animation_color_.AddTransition(new CAccelerateDecelerateTransition(0.1, GetRValue(target_color)),
new CAccelerateDecelerateTransition(0.1, GetGValue(target_color)),
new CAccelerateDecelerateTransition(0.1, GetBValue(target_color)));
animation_color_.SetID(0, 1);
animation_controller_.AddAnimationObject(&animation_color_);
animation_controller_.AnimateGroup(1);
It's better to post this on SO forum. Use flutter-animation tag while posting
If the response helped, do "Accept Answer" and upvote it - Vaibhav