FastListViewLayout<T extends FastItem> constructor
FastListViewLayout<T extends FastItem> ({
- Key? key,
- required FastListItemBuilder<
T> listItemBuilder, - required List<
T> items, - EdgeInsets padding = EdgeInsets.zero,
- int intialCategoryIndex = 0,
- bool groupByCategory = false,
- bool isViewScrollable = true,
- bool showItemDivider = false,
- bool sortItems = true,
- List<
FastListItemCategory< extraTabBuilder()?,T> > - String? allCategoryText,
- Widget? emptyContent,
- String? emptyText,
- 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,
});