PagingController<PageKeyType, ItemType>.fromValue constructor
PagingController<PageKeyType, ItemType>.fromValue (
- PagingState<
PageKeyType, ItemType> value, { - required PageKeyType firstPageKey,
- int? invisibleItemsThreshold,
Creates a controller from an existing PagingState.
firstPageKey is the key to be used in case of a refresh.
Implementation
PagingController.fromValue(
PagingState<PageKeyType, ItemType> value, {
required this.firstPageKey,
this.invisibleItemsThreshold,
}) : super(value);