IndexedWidgetBuilderOrNull typedef

IndexedWidgetBuilderOrNull = Widget? Function(BuildContext context, int index)

The builder should create a widget for the given index. When the builder returns null, the list will ask the emptyItemBuilder to create an "empty" item to be displayed instead.

Implementation

typedef IndexedWidgetBuilderOrNull = Widget? Function(BuildContext context, int index);