playReverse method
Starts playing the animation in backward direction.
If a duration
is provided, it will be set as the
AnimationController.duration value.
Returns a TickerFuture that completes when the animation ends or get canceled.
Implementation
TickerFuture playReverse({Duration? duration}) {
this.duration = duration ?? this.duration;
return reverse();
}