onChanged method

dynamic onChanged(
  1. EcpExpandableItemState state,
  2. bool expand
)

Implementation

onChanged(EcpExpandableItemState state, bool expand) {
  if (!expand) {
    return;
  }
  for (var element in _itemStates) {
    element.expand(state == element);
  }
}