SectionHeaderBuilder<SECTION> typedef

SectionHeaderBuilder<SECTION> = Widget? Function(BuildContext context, SECTION section, int sectionIndex)

Build header widget used in ListViewWithDataSource. The widget will display at head of the section. If not needed, return null.

Implementation

typedef SectionHeaderBuilder<SECTION> = Widget? Function(
  BuildContext context,
  SECTION section,
  int sectionIndex,
);