DraftModeFormList<ItemType> constructor

const DraftModeFormList<ItemType>({
  1. Key? key,
  2. bool isPending = false,
  3. required List<ItemType> items,
  4. required DraftModeFormListItemBuilder<ItemType> itemBuilder,
  5. ItemType? selectedItem,
  6. Object? selectedKey,
  7. Object? itemKeyOf(
    1. ItemType item
    )?,
  8. ValueChanged<ItemType>? onTap,
  9. Widget? emptyPlaceholder,
  10. Widget? header,
  11. Widget? separator,
  12. Future<void> onRefresh()?,
  13. EdgeInsetsGeometry? padding,
  14. 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,
});