RuleOfThirdsLayout class

Inheritance

Constructors

RuleOfThirdsLayout()
const

Properties

biggestBreakpoint RuleOfThirdsBreakpoint
no setterinherited
breakpoints SplayTreeSet<RuleOfThirdsBreakpoint>
At least one breakpoint must exist. Make sure all breakpoint enums are defined, otherwise breakpointById may throw exception.
no setteroverride
breakpointsMap Map<RuleOfThirdsBreakpointId, RuleOfThirdsBreakpoint>
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 RuleOfThirdsBreakpoint
no setterinherited

Methods

breakpoint(double containerWidth) RuleOfThirdsBreakpoint?
Returns null if container width is smaller than the smallest breakpoint.
inherited
breakpointById(RuleOfThirdsBreakpointId id) RuleOfThirdsBreakpoint
inherited
format(double containerWidth, [double containerHeight = double.maxFinite]) LayoutFormat
override
nextBreakpoint(RuleOfThirdsBreakpointId? id) RuleOfThirdsBreakpoint?
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(RuleOfThirdsBreakpointId? id) RuleOfThirdsBreakpoint?
Returns null in one of these cases:
inherited
toString() String
A string representation of this object.
inherited

Operators

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