showAndHideOverlay method
Implementation
void showAndHideOverlay([bool? show]) {
if (!isShowingChat) {
_isShowingOverlay = show ?? !_isShowingOverlay;
if (_isShowingOverlay) cancelCloseOverlay();
notifyListeners();
} else {
isShowingChat = false;
}
}