-
-
Notifications
You must be signed in to change notification settings - Fork 321
Open
Description
Hello there,
first of all thanks for the great work.
I am not sure if its a bug or a wanted feature but i tried to stop the repeating animation of the SpinKitWave with adding a custom animation controller.
It seems that the line
flutter_spinkit/lib/src/wave_spinner.dart
Line 38 in aef4fda
| _controller = (widget.controller ?? AnimationController(duration: widget.duration, vsync: this))..repeat(); |
Forces all set animation controllers to repeat even if the custom controller does not repeat.
Moving the first braced solves my "issue".
_controller = widget.controller ?? (AnimationController(duration: widget.duration, vsync: this)..repeat());
Is this a wanted behavior or a bug?
Best,
Monkeyinapocket
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels