DropDownButton<T> constructor

const DropDownButton<T>({
  1. Key? key,
  2. required ContextMenuItemBuilder<T> itemBuilder,
  3. T? value,
  4. ContextMenuItemSelected<T>? onSelected,
  5. ContextMenuCanceled? onCanceled,
  6. String? tooltip,
  7. bool enabled = true,
  8. DropDownThemeData? theme,
})

Implementation

const DropDownButton({
  super.key,
  required this.itemBuilder,
  this.value,
  this.onSelected,
  this.onCanceled,
  this.tooltip,
  this.enabled = true,
  this.theme,
});