itemRender abstract method

Widget itemRender(
  1. BuildContext context,
  2. T item,
  3. int index
)

Renders a single list item.

Must be implemented by subclasses to provide item-specific rendering.

Parameters:

  • context: The build context.
  • item: The data item to render.
  • index: The index of the item in the list.

Implementation

Widget itemRender(BuildContext context, T item, int index);