toggleExpanded method
Toggles isExpanded to the opposite state.
Implementation
void toggleExpanded(BuildContext context) {
isExpanded ? collapse(context) : expand(context);
}
Toggles isExpanded to the opposite state.
void toggleExpanded(BuildContext context) {
isExpanded ? collapse(context) : expand(context);
}