NiceAspectRatioGrid constructor

const NiceAspectRatioGrid({
  1. Key? key,
  2. required List<Widget> children,
  3. int crossAxisCount = 2,
  4. double aspectRatio = 1.0,
  5. double mainAxisSpacing = 8,
  6. double crossAxisSpacing = 8,
  7. EdgeInsets? padding,
})

Implementation

const NiceAspectRatioGrid({
  super.key,
  required this.children,
  this.crossAxisCount = 2,
  this.aspectRatio = 1.0,
  this.mainAxisSpacing = 8,
  this.crossAxisSpacing = 8,
  this.padding,
});