SliverGridGeometry constructor Null safety

const SliverGridGeometry(
  1. {required double scrollOffset,
  2. required double crossAxisOffset,
  3. required double mainAxisExtent,
  4. required double crossAxisExtent}
)

Creates an object that describes the placement of a child in a RenderSliverGrid.

Implementation

const SliverGridGeometry({
  required this.scrollOffset,
  required this.crossAxisOffset,
  required this.mainAxisExtent,
  required this.crossAxisExtent,
});