NiceResponsiveContainer constructor

const NiceResponsiveContainer({
  1. Key? key,
  2. required Widget child,
  3. EdgeInsetsGeometry? padding,
  4. double? maxWidthXs,
  5. double? maxWidthSm = 540,
  6. double? maxWidthMd = 720,
  7. double? maxWidthLg = 960,
  8. double? maxWidthXl = 1140,
  9. double? maxWidthXxl = 1320,
  10. AlignmentGeometry alignment = Alignment.center,
})

Implementation

const NiceResponsiveContainer({
  super.key,
  required this.child,
  this.padding,
  this.maxWidthXs,
  this.maxWidthSm = 540,
  this.maxWidthMd = 720,
  this.maxWidthLg = 960,
  this.maxWidthXl = 1140,
  this.maxWidthXxl = 1320,
  this.alignment = Alignment.center,
});