hide method

void hide(
  1. BuildContext context
)

Implementation

void hide(BuildContext context) {
  if (!_isShowing) return;
  _isShowing = false;
  if (context.mounted && Navigator.canPop(context)) {
    Navigator.pop(context);
  }
}