DropdownSearchData<T> class
A class to configure searchable dropdowns.
Constructors
-
DropdownSearchData({TextEditingController? searchController, Widget? searchInnerWidget, double? searchInnerWidgetHeight, SearchMatchFn<
T> ? searchMatchFn}) -
Creates a DropdownSearchData.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchController → TextEditingController?
-
The TextEditingController used for searchable dropdowns. If this is null,
then it'll perform as a normal dropdown without searching feature.
final
- searchInnerWidget → Widget?
-
The widget to use for searchable dropdowns, such as search bar.
It will be shown at the top of the dropdown menu.
final
- searchInnerWidgetHeight → double?
-
The height of the searchInnerWidget if used.
final
-
searchMatchFn
→ SearchMatchFn<
T> ? -
The match function used for searchable dropdowns. If this is null,
then _defaultSearchMatchFn will be used.
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.
inherited