ItemPicker<T> constructor
const
ItemPicker<T> ({
- Key? key,
- required ItemChildDelegate<
T> items, - required ItemPickerBuilder<
T> builder, - T? value,
- ValueChanged<
T?> ? onChanged, - ItemPickerLayout layout = ItemPickerLayout.grid,
- Widget? placeholder,
- Widget? dialogTitle,
- PromptMode mode = PromptMode.dialog,
- 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,
});