ResponsiveConstraints constructor
const
ResponsiveConstraints({
- Key? key,
- required Widget child,
- required BoxConstraints mobile,
- BoxConstraints? tablet,
- BoxConstraints? smallDesktop,
- BoxConstraints? desktop,
- BoxConstraints? largeDesktop,
- AlignmentGeometry? alignment,
- bool scaleConstraints = false,
Creates a ResponsiveConstraints widget.
Implementation
const ResponsiveConstraints({
super.key,
required this.child,
required this.mobile,
this.tablet,
this.smallDesktop,
this.desktop,
this.largeDesktop,
this.alignment,
this.scaleConstraints = false,
});