PagingList<T> constructor
PagingList<T> ({
- PageGenerator<
T> ? pageGenerator, - int bufferSize = 20,
- required FutureOr<
int?> length,
Implementation
PagingList(
{this.pageGenerator,
this.bufferSize = 20,
required final FutureOr<int?> length})
: _length = length {
if (length is Future<int>) {
length.then((_resolved) {
_length = _resolved;
});
}
}