ResponsiveLayout constructor
const
ResponsiveLayout({
- required Widget mobileApp(
- BuildContext context
- Key? key,
- Widget mobileWeb(
- BuildContext context
- Widget tabletWeb(
- BuildContext context
- Widget desktopWeb(
- BuildContext context
- bool boxed = true,
- double? maxWidth,
- bool needsShadow = false,
- Color overflowBackgroundColor = Colors.transparent,
- bool isFlexible = false,
- bool setMinHeight = false,
Create responsive layout for mobile, tablet and desktop
Implementation
const ResponsiveLayout({
required this.mobileApp,
super.key,
this.mobileWeb,
this.tabletWeb,
this.desktopWeb,
this.boxed = true,
this.maxWidth,
this.needsShadow = false,
this.overflowBackgroundColor = Colors.transparent,
this.isFlexible = false,
this.setMinHeight = false,
});