SimpleDropdown<T>.custom constructor
SimpleDropdown<T>.custom ({
- Key? key,
- required WidgetBuilder builder,
- required DropdownController<
T> controller, - bool enableListen = true,
- bool crossAxisConstrained = true,
- bool dismissible = true,
- bool enabled = true,
Implementation
SimpleDropdown.custom({
super.key,
required this.builder,
required this.controller,
/// The builder that will be used to build the dropdown menu.
required DropdownMenuBuilder<T> menuBuilder,
this.menuConstraints,
this.menuDecoration,
this.enableListen = true,
this.menuPosition = const DropdownMenuPosition(),
this.crossAxisConstrained = true,
this.dismissible = true,
this.enabled = true,
}) : delegate = CustomMenuBuilderDelegate<T>(menuBuilder);