toggleGroup method
Opens/closes a group.
Implementation
void toggleGroup(String id) {
if (!_expandedGroups.remove(id)) _expandedGroups.add(id);
notifyListeners();
}
Opens/closes a group.
void toggleGroup(String id) {
if (!_expandedGroups.remove(id)) _expandedGroups.add(id);
notifyListeners();
}