NmBreakpoints class
Width thresholds (logical px) that select the NmFormFactor.
- Annotations
Constructors
- NmBreakpoints({double tablet = 760, double desktop = 1100, double wide = 1400})
-
Creates an NmBreakpoints.
const
Properties
- desktop → double
-
Tablet below this width.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tablet → double
-
Phone below this width.
final
- wide → double
-
Desktop below this width; wide at or above.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
of(
double width) → NmFormFactor -
Form factor for a window
width. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited