PagingManagerImpl constructor
PagingManagerImpl({
- required List data,
- int pageSize = 10,
- int currentPage = 0,
- 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);