ComboBoxItem<T> constructor

const ComboBoxItem<T>({
  1. Key? key,
  2. VoidCallback? onTap,
  3. T? value,
  4. bool enabled = true,
  5. required Widget child,
})

Creates an item for a combo box menu.

The child argument is required.

Implementation

const ComboBoxItem({
  super.key,
  this.onTap,
  this.value,
  this.enabled = true,
  required super.child,
});