ItemBuilder typedef

ItemBuilder = Widget Function(BuildContext context, int index)

Typedef for item builders

Item builders receive:

  • context: The build context
  • index: The position of the item in the list

Should return the widget to display

Implementation

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