DraftModeFormDropDown<ItemType, ValueType> constructor
const
DraftModeFormDropDown<ItemType, ValueType> ({
- Key? key,
- required List<
ItemType> items, - required DraftModeFormAttribute<
ValueType> attribute, - required ValueType valueOf(
- ItemType item
- required DraftModeFormListItemBuilder<
ItemType> itemBuilder, - required String placeholder,
- bool readOnly = false,
- String? label,
- String? selectionTitle,
- ValueChanged<
ValueType?> ? onSaved,
Implementation
const DraftModeFormDropDown({
super.key,
required this.items,
required this.attribute,
required this.valueOf,
required this.itemBuilder,
required this.placeholder,
this.readOnly = false,
this.label,
this.selectionTitle,
this.onSaved,
});