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