SliverGridGeometry constructor

const SliverGridGeometry({@required double scrollOffset, @required double crossAxisOffset, @required double mainAxisExtent, @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,
});