createTweens method
Build the animations driven by controller. Called from initState
after controller has been created.
Implementation
@override
void createTweens() {
_spin = Tween<double>(begin: 0, end: widget.spins).animate(
CurvedAnimation(parent: controller, curve: widget.curve),
);
}