close method
Closes the modal.
Implementation
@override
void close() {
if (!_isOpen) {
return;
}
// _isOpen = false;
toastUtils.instance.clear();
if (context != null) {
Navigator.pop(context!);
}
// notifyListeners();
}
Closes the modal.
@override
void close() {
if (!_isOpen) {
return;
}
// _isOpen = false;
toastUtils.instance.clear();
if (context != null) {
Navigator.pop(context!);
}
// notifyListeners();
}