ResponsiveWrap constructor

const ResponsiveWrap({
  1. Key? key,
  2. required List<Widget> children,
  3. double mobileSpacing = 8.0,
  4. double tabletSpacing = 12.0,
  5. double desktopSpacing = 16.0,
  6. double mobileRunSpacing = 8.0,
  7. double tabletRunSpacing = 12.0,
  8. double desktopRunSpacing = 16.0,
  9. WrapAlignment alignment = WrapAlignment.start,
  10. WrapCrossAlignment crossAxisAlignment = WrapCrossAlignment.start,
  11. Axis direction = Axis.horizontal,
})

Implementation

const ResponsiveWrap({
  super.key,
  required this.children,
  this.mobileSpacing = 8.0,
  this.tabletSpacing = 12.0,
  this.desktopSpacing = 16.0,
  this.mobileRunSpacing = 8.0,
  this.tabletRunSpacing = 12.0,
  this.desktopRunSpacing = 16.0,
  this.alignment = WrapAlignment.start,
  this.crossAxisAlignment = WrapCrossAlignment.start,
  this.direction = Axis.horizontal,
});