DraftModeFormList<ItemType> constructor
const
DraftModeFormList<ItemType> ({
- Key? key,
- bool isPending = false,
- required List<
ItemType> items, - required DraftModeFormListItemBuilder<
ItemType> itemBuilder, - ItemType? selectedItem,
- Object? selectedKey,
- Object? itemKeyOf(
- ItemType item
- ValueChanged<
ItemType> ? onTap, - Widget? emptyPlaceholder,
- Widget? header,
- Widget? separator,
- Future<
void> onRefresh()?, - EdgeInsetsGeometry? padding,
- DraftModeUIListDismissible<
ItemType> ? dismissible,
Implementation
const DraftModeFormList({
super.key,
this.isPending = false,
required this.items,
required this.itemBuilder,
this.selectedItem,
this.selectedKey,
this.itemKeyOf,
this.onTap,
this.emptyPlaceholder,
this.header,
this.separator,
this.onRefresh,
this.padding,
this.dismissible,
});