setExpandStatus method

void setExpandStatus()

This method will change expand status.

Implementation

void setExpandStatus() {
  isExpanded = !isExpanded;
  notifyListeners();
}