hide method
void
hide()
Method to hide the dialog
Implementation
void hide() {
if (_isOpen) {
Navigator.of(context).pop();
_isOpen = false;
}
}
Method to hide the dialog
void hide() {
if (_isOpen) {
Navigator.of(context).pop();
_isOpen = false;
}
}