DropDownButton<T> constructor
const
DropDownButton<T> ({
- Key? key,
- required ContextMenuItemBuilder<
T> itemBuilder, - T? value,
- ContextMenuItemSelected<
T> ? onSelected, - ContextMenuCanceled? onCanceled,
- String? tooltip,
- bool enabled = true,
- DropDownThemeData? theme,
Implementation
const DropDownButton({
super.key,
required this.itemBuilder,
this.value,
this.onSelected,
this.onCanceled,
this.tooltip,
this.enabled = true,
this.theme,
});