SliverConstraints constructor
- required AxisDirection axisDirection,
- required GrowthDirection growthDirection,
- required ScrollDirection userScrollDirection,
- required double scrollOffset,
- required double precedingScrollExtent,
- required double overlap,
- required double remainingPaintExtent,
- required double crossAxisExtent,
- required AxisDirection crossAxisDirection,
- required double viewportMainAxisExtent,
- required double remainingCacheExtent,
- 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,
});