ListStyleFunc typedef

ListStyleFunc = Style? Function(int index, String item)

Callback for per-item styling in lists.

index is the item index (0-based). item is the item content.

Implementation

typedef ListStyleFunc = Style? Function(int index, String item);