MaterialLayoutFormat class

Constructors

MaterialLayoutFormat({LayoutValue<double>? margin, LayoutValue<double>? gutter})

Properties

breakpoints Map<LayoutBreakpoint, double>
A breakpoint is the range of predetermined screen sizes that have specific layout requirements. At a given breakpoint range, the layout adjusts to suit the screen size and orientation.
final
columns LayoutValue<int>
Content is placed in the areas of the screen that contain columns. Column width is defined using percentages, rather than fixed values, to allow content to flexibly adapt to any screen size. The number of columns displayed in the grid is determined by the breakpoint range (a range of predetermined screen sizes) at which a screen is viewed, whether it’s a breakpoint for mobile, tablet, or another size.
final
gutter LayoutValue<double>
Gutters are the spaces between columns. They help separate content. Gutter widths are fixed values at each breakpoint range. To better adapt to the screen, gutter width can change at different breakpoints. Wider gutters are more appropriate for larger screens, as they create more whitespace between columns.
final
hashCode int
The hash code for this object.
no setterinherited
margin LayoutValue<double>
Margins are the space between content and the left and right edges of the screen. Margin widths are defined as fixed values at each breakpoint range. To better adapt to the screen, the margin width can change at different breakpoints. Wider margins are more appropriate for larger screens, as they create more whitespace around the perimeter of content.
final
maxWidth LayoutValue<double>
Max width allow in FixedWidth widget.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

breakpointForWidth(double width) LayoutBreakpoint
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(Size layoutSize, MediaQueryData mediaQuery, VisualDensity visualDensity) LayoutData
inherited
toString() String
A string representation of this object.
inherited
visualDensity(BuildContext context) VisualDensity
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited