ResponsiveLayout constructor

const ResponsiveLayout({
  1. Key? key,
  2. required ResponsiveLayoutBuilder phone,
  3. ResponsiveLayoutBuilder? tablet,
  4. ResponsiveLayoutBuilder? desktop,
  5. ResponsivePreBuilder? preBuilder,
  6. ResponsiveBreakpoints breakpoints = const ResponsiveBreakpoints(),
  7. bool useShortestSide = true,
  8. bool treatLandscapePhoneAsTablet = true,
  9. bool treatPortraitTabletAsPhone = true,
})

Implementation

const ResponsiveLayout({
  super.key,
  required this.phone,
  this.tablet,
  this.desktop,
  this.preBuilder,
  this.breakpoints = const ResponsiveBreakpoints(),
  this.useShortestSide = true,
  this.treatLandscapePhoneAsTablet = true,
  this.treatPortraitTabletAsPhone = true,
});