DraftModeFormList<ItemType> constructor

const DraftModeFormList<ItemType>({
  1. Key? key,
  2. required List<ItemType> items,
  3. required DraftModeFormListItemBuilder<ItemType> itemBuilder,
  4. ItemType? selectedItem,
  5. Object? selectedKey,
  6. Object? itemKeyOf(
    1. ItemType item
    )?,
  7. ValueChanged<ItemType>? onTap,
  8. Widget? emptyPlaceholder,
  9. Widget? header,
  10. Widget? separator,
  11. Future<void> onRefresh()?,
  12. EdgeInsetsGeometry? padding,
  13. DraftModeUIListDismissible<ItemType>? dismissible,
})

Implementation

const DraftModeFormList({
  super.key,
  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,
});