ResponsiveLayout constructor
const
ResponsiveLayout({
- Key? key,
- required ResponsiveLayoutBuilder phone,
- ResponsiveLayoutBuilder? tablet,
- ResponsiveLayoutBuilder? desktop,
- ResponsivePreBuilder? preBuilder,
- ResponsiveBreakpoints breakpoints = const ResponsiveBreakpoints(),
- bool useShortestSide = true,
- bool treatLandscapePhoneAsTablet = true,
- 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,
});