DropdownButtonBuilder typedef
A builder to customize dropdown buttons.
Used by DropdownButton.selectedItemBuilder.
The list of widgets returned by this builder must be exactly the same length as the DropdownButton.items list.
Implementation
typedef DropdownButtonBuilder = List<Widget> Function(BuildContext context);