dropdownMenuItemsBuilder<T> function
A FastDropdownMenuItemsBuilder that is the default FastDropdown.itemsBuilder.
Implementation
List<DropdownMenuItem<T>> dropdownMenuItemsBuilder<T>(
List<T> items, FastDropdownState<T> field) {
return items
.map((item) =>
DropdownMenuItem<T>(value: item, child: Text(item.toString())))
.toList();
}