LiquidShellBreakpoints class
Width thresholds of the shell, in logical pixels of the shell's own constraints (not the screen).
- Annotations
Constructors
- LiquidShellBreakpoints({double regular = 700, double tiledSidebar = 1024, double compactHeight = 500})
-
Creates breakpoints.
0 < regular <= tiledSidebar,compactHeight >= 0.const
Properties
- compactHeight → double
-
A landscape shell lower than this is compact (phones in landscape get
the bottom bar). 0 turns the height rule off.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- regular → double
-
Widths below this are compact.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tiledSidebar → double
-
A regular layout tiles the sidebar beside the body only when it is
landscape AND at least this wide. Otherwise the sidebar overlays.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sizeClassOf(
double width) → LiquidSizeClass -
The size class of
width. -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override