createTweens method
Build the animations driven by controller. Called from initState
after controller has been created.
Implementation
@override
void createTweens() {
_skewY = TweenSequence<double>(<TweenSequenceItem<double>>[
TweenSequenceItem(tween: Tween(begin: 0.0, end: -0.2), weight: 1),
TweenSequenceItem(tween: Tween(begin: -0.2, end: 0.2), weight: 1),
TweenSequenceItem(tween: Tween(begin: 0.2, end: 0.0), weight: 1),
]).animate(CurvedAnimation(parent: controller, curve: widget.curve));
}