AnimatedWidgets icon indicating copy to clipboard operation
AnimatedWidgets copied to clipboard

TranslationAnimatedWidget bugs

Open jielundewode opened this issue 2 years ago • 0 comments

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

jielundewode avatar Jun 09 '22 07:06 jielundewode