SimpleInfiniteList<T extends DataModel, TFilter extends DataFilter, TRepo extends BaseRepository<T, TFilter>> constructor

const SimpleInfiniteList<T extends DataModel, TFilter extends DataFilter, TRepo extends BaseRepository<T, TFilter>>({
  1. Key? key,
  2. required Widget itemBuilder(
    1. BuildContext context,
    2. T item,
    3. int index
    ),
  3. required TRepo repository,
  4. required TFilter filterInitializer(),
})

Implementation

const SimpleInfiniteList({
  super.key,
  required this.itemBuilder,
  required this.repository,
  required this.filterInitializer,
});