collapse method

void collapse()

Sets the isCollapsed property to false.

notifyListeners is called to notify all registered listeners.

Implementation

void collapse() {
  _isCollapsed = true;
  notifyListeners();
}