From a5b0ff51862208929e429cc5dc207af9697ca1e2 Mon Sep 17 00:00:00 2001 From: Anthony Whitford Date: Fri, 23 Oct 2020 15:57:34 -0700 Subject: [PATCH] Removed async from _nextAnimation. --- lib/src/wavy.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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