DropdownItemLoader<T> typedef
DropdownItemLoader<T> =
FutureOr<List<DropdownItem<T> > > Function()
The loader that will be used to load the items of the dropdown menu via DropdownController.load.
Implementation
typedef DropdownItemLoader<T> = FutureOr<List<DropdownItem<T>>> Function();