SearchFieldListItem<T> class

Constructors

SearchFieldListItem(String searchKey, {Widget? child, T? item, Key? key})

Properties

child Widget?
The widget to be shown in the searchField if not specified, Text widget with default styling will be used
final
hashCode int
The hash code for this object.
no setteroverride
item → T?
Custom Object to be associated with each ListItem see example in example/lib/country_search.dart
final
key Key?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchKey String
the text based on which the search happens
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override