ResponsiveLayout constructor
const
ResponsiveLayout({
- Key? key,
- required ResponsiveLayoutBuilder phone,
- ResponsiveLayoutBuilder? tablet,
- ResponsiveLayoutBuilder? desktop,
- ResponsivePreBuilder? preBuilder,
- ResponsiveBreakpoints breakpoints = const ResponsiveBreakpoints(),
- bool useShortestSide = true,
- bool treatLandscapePhoneAsTablet = false,
- bool treatPortraitTabletAsPhone = false,
Implementation
const ResponsiveLayout({
super.key,
required this.phone,
this.tablet,
this.desktop,
this.preBuilder,
this.breakpoints = const ResponsiveBreakpoints(),
this.useShortestSide = true,
this.treatLandscapePhoneAsTablet = false,
this.treatPortraitTabletAsPhone = false,
});