PagingManagerImpl constructor

PagingManagerImpl({
  1. required List data,
  2. int pageSize = 10,
  3. int currentPage = 0,
  4. PagingAlgorithmType algorithmType = PagingAlgorithmType.Sections,
})

Implementation

PagingManagerImpl({
  /// The data we want to paginate
  required this.data,
  /// Default page size for each page
  this.pageSize = 10,
  /// Can be used as an initial page
  this.currentPage = 0,
  /// The algorithm to show different types of paginated results.
  this.algorithmType = PagingAlgorithmType.Sections
}): super(data: data, pageSize: pageSize, currentPage: currentPage);