ScreenLayoutBreakpoints constructor
const
ScreenLayoutBreakpoints({})
This function creates a breakpoint with the specified name.
You can specify the portrait breakpoint (portraitStandardBreakpoint) and its width constraint (portraitConstrainedWidth),
as well as the landscape breakpoint (landscapeStandardBreakpoint) and its width constraint (landscapeConstrainedWidth).
The maxScale is a value that limits the scale to ensure it does not exceed the RenderSize of the child element.
Implementation
const ScreenLayoutBreakpoints({
this.name,
required this.portraitStandardBreakpoint,
required this.portraitConstrainedWidth,
required this.landscapeStandardBreakpoint,
required this.landscapeConstrainedWidth,
required this.maxScale,
});