BreakpointValues class
Constructors
- BreakpointValues({double sm = 640, double md = 768, double lg = 1024, double xl = 1280})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- lg → double
-
Minimum width in pixel for the Breakpoints.lg breakpoint.
Must be more than md and less than xl.
final
- md → double
-
Minimum width in pixel for the Breakpoints.md breakpoint.
Must be more than sm and less than lg.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sm → double
-
Minimum width in pixel for the Breakpoints.sm breakpoint.
Must be more than 0 (ie. Breakpoints.xs) less than md.
final
- xl → double
-
Minimum width in pixel for the Breakpoints.xl breakpoint.
Must be more than lg.
final
Methods
-
getCurrentBreakpoint(
BuildContext context) → Breakpoints - Returns the current Breakpoints.
-
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