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
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