PlexFormFieldDropdown<T> constructor
PlexFormFieldDropdown<T> ({
- Key? key,
- PlexFormFieldGeneric properties = const PlexFormFieldGeneric.empty(),
- List<
T> ? dropdownItems, - Widget dropDownLeadingIcon(
- dynamic item
- Future<
List> ? dropdownAsyncItems, - Widget dropdownItemWidget(
- dynamic item
- bool dropdownOnSearch(
- String query,
- dynamic item
- String dropdownItemAsString(
- dynamic item
- dynamic dropdownItemOnSelect(
- dynamic item
- PlexWidgetController<
T?> ? dropdownSelectionController, - Function? dropdownCustomOnTap,
- FocusNode? searchInputFocusNode,
- String noDataText = "N/A",
- T? initialSelection,
- bool showClearButton = false,
Implementation
PlexFormFieldDropdown(
{super.key,
this.properties = const PlexFormFieldGeneric.empty(),
this.dropdownItems,
this.dropDownLeadingIcon,
this.dropdownAsyncItems,
this.dropdownItemWidget,
this.dropdownOnSearch,
this.dropdownItemAsString,
this.dropdownItemOnSelect,
this.dropdownSelectionController,
this.dropdownCustomOnTap,
this.searchInputFocusNode,
this.noDataText = "N/A",
this.initialSelection,
this.showClearButton = false});