close method
void
close()
Closes any open hidden page.
Reverses the animation with a negative fling. The side will be set to null after the animation completes, via the AnimationStatus.dismissed listener.
Implementation
void close() {
// Don't set _side to null here - let the animation listener do it
// when the animation is dismissed
_animationController.fling(velocity: -1);
}