SliverGridDelegate.count constructor Null safety

const SliverGridDelegate.count(
  1. {required int crossAxisCount,
  2. @Default(0.0) double mainAxisSpacing,
  3. @Default(0.0) double crossAxisSpacing,
  4. @Default(1.0) double childAspectRatio,
  5. double? mainAxisExtent}
)

Implementation

const factory SliverGridDelegate.count({
  required int crossAxisCount,
  @Default(0.0) double mainAxisSpacing,
  @Default(0.0) double crossAxisSpacing,
  @Default(1.0) double childAspectRatio,
  double? mainAxisExtent,
}) = SliverGridDelegateWithFixedCrossAxisCount;