itemLabel property

String Function(T item)? itemLabel
final

Function to extract the display string for an item. Defaults to item.toString().

Implementation

final String Function(T item)? itemLabel;