closeBaseExpansion function

void closeBaseExpansion(
  1. GlobalKey<BaseExpansionState> key
)

Implementation

void closeBaseExpansion(GlobalKey<BaseExpansionState> key) {
  key?.currentState?.close();
}