AnimatedWidgets
AnimatedWidgets copied to clipboard
TranslationAnimatedWidget bugs
animationFinished callback in your code is
..addStatusListener((status) {
if (widget.animationFinished != null) {
widget.animationFinished!(widget.enabled);
}
});
and it should be:
..addStatusListener((status) {
if (status == AnimationStatus.completed) {
if (widget.animationFinished != null) {
widget.animationFinished!(widget.enabled);
}
}
});
pls fix it
and others animations had same problems too