FastListViewLayout<T extends FastItem> constructor

FastListViewLayout<T extends FastItem>({
  1. Key? key,
  2. required FastListItemBuilder<T> listItemBuilder,
  3. required List<T> items,
  4. EdgeInsets padding = EdgeInsets.zero,
  5. int intialCategoryIndex = 0,
  6. bool groupByCategory = false,
  7. bool isViewScrollable = true,
  8. bool showItemDivider = false,
  9. bool sortItems = true,
  10. List<FastListItemCategory<T>> extraTabBuilder()?,
  11. String? allCategoryText,
  12. Widget? emptyContent,
  13. String? emptyText,
  14. FastListViewLayoutDelegate<T>? delegate,
})

Creates a new FastListViewLayout widget.

The listItemBuilder and items parameters are required.

Implementation

FastListViewLayout({
  super.key,
  required this.listItemBuilder,
  required this.items,
  this.padding = EdgeInsets.zero,
  this.intialCategoryIndex = 0,
  this.groupByCategory = false,
  this.isViewScrollable = true,
  this.showItemDivider = false,
  this.sortItems = true,
  this.extraTabBuilder,
  this.allCategoryText,
  this.emptyContent,
  this.emptyText,
  this.delegate,
});