Callback when expansion state changes
final void Function(int index, {bool isExpanded})? onExpansionChanged;