toggleExpanded method

void toggleExpanded()

Toggle expanded state.

Implementation

void toggleExpanded() => isExpanded.value = !isExpanded.value;