PkPaginationState<T> constructor

const PkPaginationState<T>({
  1. List<T> items = const [],
  2. bool isLoading = false,
  3. bool isLoadingMore = false,
  4. bool hasMore = true,
  5. Object? error,
  6. int page = 0,
})

Implementation

const PkPaginationState({
  this.items = const [],
  this.isLoading = false,
  this.isLoadingMore = false,
  this.hasMore = true,
  this.error,
  this.page = 0,
});