PaginationView constructor

const PaginationView({
  1. Key? key,
  2. required Axis scrollDirection,
  3. double? itemExtent,
  4. required Clip clipBehavior,
  5. required bool shrinkWrap,
  6. required bool reverse,
  7. required bool addAutomaticKeepAlive,
  8. required bool addRepaintBoundaries,
  9. required bool addSemanticIndexes,
  10. bool? primary,
  11. double? cacheExtent,
  12. String? restorationId,
  13. EdgeInsets? padding,
  14. required Map<String, String> initialParameters,
  15. required String pageId,
  16. List<SSRWidget> headers = const [],
  17. List<SSRWidget> footers = const [],
  18. required Symbol contextName,
  19. ScrollController? scrollController,
  20. double pageFetchThreshold = 1000,
})

Implementation

const PaginationView({
  super.key,
  required this.scrollDirection,
  this.itemExtent,
  required this.clipBehavior,
  required this.shrinkWrap,
  required this.reverse,
  required this.addAutomaticKeepAlive,
  required this.addRepaintBoundaries,
  required this.addSemanticIndexes,
  this.primary,
  this.cacheExtent,
  this.restorationId,
  this.padding,
  required this.initialParameters,
  required this.pageId,
  this.headers = const [],
  this.footers = const [],
  required this.contextName,
  this.scrollController,
  this.pageFetchThreshold = 1000,
}) : _isSliver = false;