HeaderBuilder<H> typedef

HeaderBuilder<H> = Widget Function(BuildContext context, H header)

The HeaderBuilder is a function that render a header of type H as a Widget, it takes a BuildContext and a H as parameters. It is used by GroupedListView<H, I> to render the headers of type H

Implementation

typedef HeaderBuilder<H> = Widget Function(
  BuildContext context,
  H header,
);