SearchFieldListItem<T> constructor

SearchFieldListItem<T>(
  1. String searchKey, {
  2. Widget? child,
  3. T? item,
  4. Key? key,
})

The widget to be shown in the suggestion list if not specified, Text widget with default styling will be used to show a custom widget, use child instead see example in example/lib/country_search.dart

Implementation

SearchFieldListItem(this.searchKey, {this.child, this.item, this.key});