groupHeaderBuilder property
Same as groupSeparatorBuilder, will be called to build group separators for each group. The passed element is always the first element of the group.
If defined groupSeparatorBuilder wont be used.
Implementation
final Widget Function(T element)? groupHeaderBuilder;