WindowHeightSizeClass enum

Defines a set of standardized window size breakpoints for height, based on Material Design 3 guidelines for adaptive layouts.

Inheritance
Implemented types
Available extensions

Values

compact → const WindowHeightSizeClass

Height is below 480dp. Represents 99.78% of phones in landscape mode.

medium → const WindowHeightSizeClass

Height is between 480dp and 899dp (inclusive). Represents 96.56% of tablets in landscape and 97.59% of phones in portrait.

expanded → const WindowHeightSizeClass

Height is 900dp or larger. Represents 94.25% of tablets in portrait mode.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareTo(WindowHeightSizeClass other) → int
Compares this object to another object.
override
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 <(WindowHeightSizeClass other) → bool

Available on WindowHeightSizeClass, provided by the WindowHeightComparison extension

operator <=(WindowHeightSizeClass other) → bool

Available on WindowHeightSizeClass, provided by the WindowHeightComparison extension

operator ==(Object other) → bool
The equality operator.
inherited
operator >(WindowHeightSizeClass other) → bool

Available on WindowHeightSizeClass, provided by the WindowHeightComparison extension

operator >=(WindowHeightSizeClass other) → bool

Available on WindowHeightSizeClass, provided by the WindowHeightComparison extension

Constants

values → const List<WindowHeightSizeClass>
A constant List of the values in this enum, in order of their declaration.