rewind method
Rewind the most recent action.
You can change animation speed by setting duration.
Implementation
void rewind({
Duration duration = const Duration(milliseconds: 650),
}) {
assert(
_swipeableStackState != null,
'$SwipeableStackController must be passed for $SwipeableStack.',
);
_swipeableStackState?._rewind(
duration: duration,
);
}