collapseAllComponents method

void collapseAllComponents()

收起所有可折叠组件

Implementation

void collapseAllComponents() {
  if (!isBound) {
    debugPrint('ClassLayoutController: Controller not bound to layout');
    return;
  }

  _state!.collapseAllComponents();
  notifyListeners();
}