BreakpointsData<D> class

Used to store some data for different breakpoints.

Constructors

BreakpointsData({D? xs, D? sm, D? md, D? lg, D? xl})
const
BreakpointsData.all(D data)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
lg → D?
final
md → D?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sm → D?
final
xl → D?
final
xs → D?
final

Methods

getForBreakpoint(Breakpoints breakpoint) → D?
Returns the data for the breakpoint. This is a mobile-first approach, where if there is no data for the breakpoint, the data of the previous (smaller) non-null breakpoint will be used.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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