fix some deprecations

This commit is contained in:
Fabian Freund
2025-08-24 08:03:31 +02:00
parent 8a7ab7640a
commit 320ad1de5f
3 changed files with 43 additions and 26 deletions
@@ -224,6 +224,7 @@ class _AnimateGradientShaderState extends State<AnimateGradientShader>
_controller =
(widget.controller ??
AnimationController(vsync: this, duration: widget.duration))
// ignore: discarded_futures
..repeat(reverse: widget.reverse);
_animation = CurvedAnimation(parent: _controller!, curve: Curves.easeInOut);