ResponsiveGrid constructor

const ResponsiveGrid({
  1. Key? key,
  2. required List<Widget> children,
  3. int mobileColumns = 1,
  4. int? tabletColumns,
  5. int? desktopColumns,
  6. int? widescreenColumns,
  7. double spacing = 8,
  8. double runSpacing = 8,
  9. double childAspectRatio = 1.0,
  10. EdgeInsets? padding,
  11. bool shrinkWrap = false,
  12. ScrollPhysics? physics,
})

Implementation

const ResponsiveGrid({
  super.key,
  required this.children,
  this.mobileColumns = 1,
  this.tabletColumns,
  this.desktopColumns,
  this.widescreenColumns,
  this.spacing = 8,
  this.runSpacing = 8,
  this.childAspectRatio = 1.0,
  this.padding,
  this.shrinkWrap = false,
  this.physics,
});