Toggles between expanded and collapsed states.
Future<void> toggle({bool animated = true}) async { if (_isExpanded) { await collapse(animated: animated); } else { await expand(animated: animated); } }