diff --git a/lib/src/wavy.dart b/lib/src/wavy.dart index f1854a3..917df38 100644 --- a/lib/src/wavy.dart +++ b/lib/src/wavy.dart @@ -119,7 +119,7 @@ class _WavyAnimatedTextKitState extends State ); } - Future _nextAnimation() async { + void _nextAnimation() { final isLast = _index == widget.text.length - 1; // Handling onNext callback