BreakpointSystemEntry constructor
const
BreakpointSystemEntry({
- required RangeValues range,
- String? portrait,
- String? landscape,
- required AdaptiveWindowType type,
- required int columns,
- required double margins,
- required double gutters,
Implementation
const factory BreakpointSystemEntry({
/// The breakpoint range values represents a width range.
required RangeValues range,
/// Type of device which uses this breakpoint range in portrait view.
String? portrait,
/// Type of device which uses this breakpoint range in landscape view.
String? landscape,
/// Material generalizes the device size into five different windows: extra
/// small, small, medium, large, and extra large.
///
/// The adaptive window represents a set of similar devices. For example, if
/// you want to create an adaptive layout for phones and small tablets you
/// would check if your window width is within the range of xs and s. If your
/// user has a bigger window size than you would create a different layout for
/// larger screens.
required AdaptiveWindowType type,
/// The number of columns in this breakpoint system entry.
/// https://material.io/design/layout/responsive-layout-grid.html#columns-gutters-and-margins
required int columns,
/// The size of margins in pixels in this breakpoint system entry.
/// Typically the same as gutters.
/// https://material.io/design/layout/responsive-layout-grid.html#columns-gutters-and-margins
required double margins,
/// The size of gutters in pixels in this breakpoint system entry. Typically
/// the same as margins.
///
/// Gutters represents the space between the columns.
///
/// https://material.io/design/layout/responsive-layout-grid.html#columns-gutters-and-margins
required double gutters,
}) = _BreakpointSystemEntry;