ItemPicker<T> constructor

const ItemPicker<T>({
  1. Key? key,
  2. required ItemChildDelegate<T> items,
  3. required ItemPickerBuilder<T> builder,
  4. T? value,
  5. ValueChanged<T?>? onChanged,
  6. ItemPickerLayout layout = ItemPickerLayout.grid,
  7. Widget? placeholder,
  8. Widget? dialogTitle,
  9. PromptMode mode = PromptMode.dialog,
  10. BoxConstraints? constraints,
})

Implementation

const ItemPicker({
  super.key,
  required this.items,
  required this.builder,
  this.value,
  this.onChanged,
  this.layout = ItemPickerLayout.grid,
  this.placeholder,
  this.dialogTitle,
  this.mode = PromptMode.dialog,
  this.constraints,
});