SliverGrid constructor Null safety

const SliverGrid(
  1. {Key? key,
  2. required SliverChildDelegate delegate,
  3. required SliverGridDelegate gridDelegate}
)

Creates a sliver that places multiple box children in a two dimensional arrangement.

Implementation

const SliverGrid({
  super.key,
  required super.delegate,
  required this.gridDelegate,
});