ResponsiveConstraints constructor

const ResponsiveConstraints({
  1. Key? key,
  2. required Widget child,
  3. required BoxConstraints mobile,
  4. BoxConstraints? tablet,
  5. BoxConstraints? smallDesktop,
  6. BoxConstraints? desktop,
  7. BoxConstraints? largeDesktop,
  8. AlignmentGeometry? alignment,
  9. 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,
});