hide method

dynamic hide(
  1. GlobalKey<NavigatorState> key
)

Implementation

hide(GlobalKey<NavigatorState> key) {
  if (_showing) {
    key.currentState!.pop();
    _showing = false;
  }
}