ItemsWithHeaderBuilder<H, I> typedef

ItemsWithHeaderBuilder<H, I> = Widget Function(BuildContext context, H header, List<IndexedItem<I>> items)

The ItemsWithHeaderBuilder is a function that render a list of items of type I with their header as a Widget, it takes a BuildContext, a H, and a List<IndexedItem<I>> as parameters.

Implementation

typedef ItemsWithHeaderBuilder<H, I> = Widget Function(
  BuildContext context,
  H header,
  List<IndexedItem<I>> items,
);