SliverConstraints constructor

const SliverConstraints({
  1. required AxisDirection axisDirection,
  2. required GrowthDirection growthDirection,
  3. required ScrollDirection userScrollDirection,
  4. required double scrollOffset,
  5. required double precedingScrollExtent,
  6. required double overlap,
  7. required double remainingPaintExtent,
  8. required double crossAxisExtent,
  9. required AxisDirection crossAxisDirection,
  10. required double viewportMainAxisExtent,
  11. required double remainingCacheExtent,
  12. required double cacheOrigin,
})

Creates sliver constraints with the given information.

Implementation

const SliverConstraints({
  required this.axisDirection,
  required this.growthDirection,
  required this.userScrollDirection,
  required this.scrollOffset,
  required this.precedingScrollExtent,
  required this.overlap,
  required this.remainingPaintExtent,
  required this.crossAxisExtent,
  required this.crossAxisDirection,
  required this.viewportMainAxisExtent,
  required this.remainingCacheExtent,
  required this.cacheOrigin,
});