PaginatorState<T> constructor
PaginatorState<T> (
- PageLoadFuture<
T> _pageLoadFuture, - PageItemsGetter<
T?> ? _pageItemsGetter, - ListItemBuilder _listItemBuilder,
- LoadingWidgetBuilder _loadingWidgetBuilder,
- ErrorWidgetBuilder<
T?> ? _errorWidgetBuilder, - EmptyListWidgetBuilder<
T?> ? _emptyListWidgetBuilder, - TotalItemsGetter<
T> _totalItemsGetter, - PageErrorChecker<
T> _pageErrorChecker, - SliverGridDelegate? _gridDelegate,
- Key? _scrollViewKey,
- Axis _scrollDirection,
- bool _reverse,
- ScrollPhysics? _scrollPhysics,
- EdgeInsets? _padding,
- bool _shrinkWrap,
- ScrollController? _scrollController,
- bool? _primary,
- int? _semanticChildCount,
- double? _cacheExtent,
- bool _addAutomaticKeepAlives,
- bool _addRepaintBoundaries,
- bool _addSemanticIndexes,
- double? _itemExtent,
- ValueChanged<
int> ? _onPageChanged, - bool _pageSnapping,
- PageController? _pageController,
- ListType _listType,
Implementation
PaginatorState(
this._pageLoadFuture,
this._pageItemsGetter,
this._listItemBuilder,
this._loadingWidgetBuilder,
this._errorWidgetBuilder,
this._emptyListWidgetBuilder,
this._totalItemsGetter,
this._pageErrorChecker,
this._gridDelegate,
this._scrollViewKey,
this._scrollDirection,
this._reverse,
this._scrollPhysics,
this._padding,
this._shrinkWrap,
this._scrollController,
this._primary,
this._semanticChildCount,
this._cacheExtent,
this._addAutomaticKeepAlives,
this._addRepaintBoundaries,
this._addSemanticIndexes,
this._itemExtent,
this._onPageChanged,
this._pageSnapping,
this._pageController,
this._listType,
);