LazyListController<T> constructor

LazyListController<T>({
  1. required List<T> items,
  2. int currentPage = 1,
})

Implementation

LazyListController({
  required List<T> items,
  this.currentPage = 1,
}) {
  _items = items;
  notifyListeners();
}