builder property

WidgetBuilder builder
final

The widget that will be used to trigger the dropdown. It can be a button, a text field, or any other widget.

if enabled is true, the widget will be interactive automatically to open and dismiss the dropdown menu when tapping inside/outside of the dropdown button/trigger;

otherwise, you need to call DropdownController.open and DropdownController.dismiss manually.

Implementation

final WidgetBuilder builder;