Function to extract key-value information from an item (used in dialogs/pages).
final List<TKeyValue>? Function(T item)? itemInfo;