builder property

(Widget Function(BuildContext context, ZetaDropdownItem<T>? selectedItem, ZetaDropdownController controller)?) builder
final

A custom builder for the child of the dropdown.

Provides a build context, the currently selected item in the dropdown and a controller which can be used to open/close the dropdown.

Implementation

final Widget Function(
  BuildContext context,
  ZetaDropdownItem<T>? selectedItem,
  ZetaDropdownController controller,
)? builder;