AdaptiveBreakpoints.withLandscape constructor
AdaptiveBreakpoints.withLandscape({})
Creates breakpoints with separate landscape configuration.
Implementation
factory AdaptiveBreakpoints.withLandscape({
double phone = 600,
double tablet = 1024,
double desktop = 1440,
required double landscapePhone,
required double landscapeTablet,
required double landscapeDesktop,
}) {
return AdaptiveBreakpoints(
phone: phone,
tablet: tablet,
desktop: desktop,
landscape: AdaptiveBreakpoints(
phone: landscapePhone,
tablet: landscapeTablet,
desktop: landscapeDesktop,
),
);
}