customHeader property
A builder function to create a custom header widget.
The function provides a tapAction
callback and a isExpanded
boolean to control the expansion state.
Implementation
final Widget Function(Function tapAction, bool isExpanded)? customHeader;