DraftModeUIDropDown<ItemType> constructor
const
DraftModeUIDropDown<ItemType> ({
- Key? key,
- bool isPending = false,
- required List<
ItemType> items, - required Widget itemBuilder(
- ItemType item,
- bool isSelected
- required String pageTitle,
- ItemType? selectedItem,
- Object? selectedKey,
- Object? itemKeyOf(
- ItemType item
- ValueChanged<
ItemType?> ? onChanged, - Widget? emptyPlaceholder,
- Widget? header,
- Widget? separator,
- Future<
void> onRefresh()?, - EdgeInsetsGeometry? padding,
- bool readOnly = false,
- DraftModeUIDropDownFieldBuilder? fieldBuilder,
Implementation
const DraftModeUIDropDown({
super.key,
this.isPending = false,
required this.items,
required this.itemBuilder,
required this.pageTitle,
this.selectedItem,
this.selectedKey,
this.itemKeyOf,
this.onChanged,
this.emptyPlaceholder,
this.header,
this.separator,
this.onRefresh,
this.padding,
this.readOnly = false,
this.fieldBuilder,
});