SortableItemBuilder<T> typedef

SortableItemBuilder<T> = T Function(BuildContext context, int index)

Builder function that creates sortable list items.

Called to construct items for a sortable list at the specified index.

Parameters:

  • context (BuildContext): Build context.
  • index (int): Item index in the list.

Returns: T — the item data.

Implementation

typedef SortableItemBuilder<T> = T Function(BuildContext context, int index);