PagewiseLoadController<T> constructor
PagewiseLoadController<T> ({
- required PageFuture<
T> pageFuture, - required int? pageSize,
Creates a PagewiseLoadController.
You must provide both the pageFuture
and the pageSize
Implementation
PagewiseLoadController({required this.pageFuture, required this.pageSize}) {
_isResetting = false;
_starFetchListeners = [];
_stopFetchListeners = [];
(_isFetchingNotifier = ValueNotifier(false))
.addListener(_onFetchingChanged);
}