LayoutData class
- Inheritance
-
- Object
- LayoutContext
- LayoutData
Constructors
- LayoutData({Key? key, required Size size, required double devicePixelRatio, required VisualDensity visualDensity, required double margin, required LayoutFormat format, required double gutter, required LayoutBreakpoint breakpoint, required int columns, required double maxWidth})
Properties
- breakpoint → LayoutBreakpoint
-
Breakpoint screen size for the given context
final
- columns → int
-
Number of columns in a grid layout for the given context
final
- devicePixelRatio → double
-
finalinherited
- fluidMargin → double
-
Responsive margin to constraint the content to a max width
final
- format → LayoutFormat
-
Layout format that defines the properties for the given context
final
- fullMargin → double
-
Total margin based on the relative margin and the fluid margin
no setter
- gutter → double
-
Spacing value between items. For example, space between cells in a grid
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
no setter
- horizontalMargin → EdgeInsets
-
Total margin based on the relative margin and the fluid margin
no setter
- margin → double
-
Padding between the edge of the screens and the content
final
- maxWidth → double
-
Constrained width for the content inside fluid layouts.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size
-
finalinherited
- visualDensity → VisualDensity
-
finalinherited
- width → double
-
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve<
T> (LayoutValue< T> value) → T -
toString(
) → String -
A string representation of this object.
inherited
-
value<
T> ({required T xs, T? sm, T? md, T? lg, T? xl}) → T
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited