SliverLayoutDimensions constructor

const SliverLayoutDimensions({
  1. required double scrollOffset,
  2. required double precedingScrollExtent,
  3. required double viewportMainAxisExtent,
  4. required double crossAxisExtent,
})

Constructs a SliverLayoutDimensions with the specified parameters.

Implementation

const SliverLayoutDimensions({
  required this.scrollOffset,
  required this.precedingScrollExtent,
  required this.viewportMainAxisExtent,
  required this.crossAxisExtent
});