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