setShowEmptyChatState method

void setShowEmptyChatState(
  1. bool show
)

Sets whether the empty chat state text/icon should be displayed and notifies listeners.

Implementation

void setShowEmptyChatState(bool show) {
  showEmptyChatState = show;
  notifyListeners();
}