RenderSliverGrid constructor

RenderSliverGrid({
  1. required RenderSliverBoxChildManager childManager,
  2. required SliverGridDelegate gridDelegate,
})

Creates a sliver that contains multiple box children that whose size and position are determined by a delegate.

Implementation

RenderSliverGrid({
  required super.childManager,
  required SliverGridDelegate gridDelegate,
}) : _gridDelegate = gridDelegate;