selectedItemBuilder property
A builder to customize the dropdown buttons corresponding to the ZeroDropdownMenuItems in items.
When a ZeroDropdownMenuItem is selected, the widget that will be displayed from the list corresponds to the ZeroDropdownMenuItem of the same index in items.
{@tool dartpad}
This sample shows a ZeroDropdownButton
with a button with Text that
corresponds to but is unique from ZeroDropdownMenuItem.
** See code in examples/api/lib/material/dropdown/dropdown_button.selected_item_builder.0.dart ** {@end-tool}
If this callback is null, the ZeroDropdownMenuItem from items that matches value will be displayed.
Implementation
final ZeroDropdownButtonBuilder? selectedItemBuilder;