NiceResponsiveContainer constructor
const
NiceResponsiveContainer({
- Key? key,
- required Widget child,
- EdgeInsetsGeometry? padding,
- double? maxWidthXs,
- double? maxWidthSm = 540,
- double? maxWidthMd = 720,
- double? maxWidthLg = 960,
- double? maxWidthXl = 1140,
- double? maxWidthXxl = 1320,
- 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,
});