ResponsiveGrid constructor

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

Implementation

const ResponsiveGrid({
  super.key,
  this.mobileColumns = 2,
  this.tabletColumns = 3,
  this.desktopColumns = 4,
  this.spacing = 16.0,
  this.childAspectRatio = 1.0,
  required this.children,
  this.mainAxisSpacing,
  this.crossAxisSpacing,
  this.padding,
  this.shrinkWrap = false,
  this.physics,
});