MaterialLayout class

Inheritance

Constructors

MaterialLayout()
const

Properties

biggestBreakpoint MaterialBreakpoint
no setterinherited
breakpoints SplayTreeSet<MaterialBreakpoint>
At least one breakpoint must exist. Make sure all breakpoint enums are defined, otherwise breakpointById may throw exception.
no setteroverride
breakpointsMap Map<MaterialBreakpointId, MaterialBreakpoint>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
smallestBreakpoint MaterialBreakpoint
no setterinherited

Methods

breakpoint(double containerWidth) MaterialBreakpoint?
Returns null if container width is smaller than the smallest breakpoint.
inherited
breakpointById(MaterialBreakpointId id) MaterialBreakpoint
inherited
columns(double containerWidth) int
format(double containerWidth, [double containerHeight = double.maxFinite]) LayoutFormat
override
gutter(double containerWidth) double
leftMargin(double containerWidth) double
nextBreakpoint(MaterialBreakpointId? id) MaterialBreakpoint?
Returns 'null' if the given breakpoint is the biggest breakpoint.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
previousBreakpoint(MaterialBreakpointId? id) MaterialBreakpoint?
Returns null in one of these cases:
inherited
scalingLeftMargin(double containerWidth, double maxBodyWidth) double
toString() String
A string representation of this object.
inherited

Operators

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