dismiss method

void dismiss()

Implementation

void dismiss() {
  if (isShowing) {
    isShowing = false;
    Navigator.pop(context);
  }
}