buildItem abstract method

Widget buildItem(
  1. BuildContext context,
  2. int index
)

Builds the widget for a specific item in the current column.

This method is called for each visible item in the picker to create the widget that represents that item.

Parameters:

  • context - The build context
  • index - The item index within the current column

Returns a widget representing the item.

Implementation

Widget buildItem(BuildContext context, int index);