Companion

object Companion

Properties

Link copied to clipboard

Represents the majority of phones in portrait.

Link copied to clipboard

The default set of size classes that includes Compact, Medium, and Expanded size classes. Should never expand to ensure behavioral consistency.

Link copied to clipboard

Represents the majority of tablets in landscape and large unfolded inner displays in landscape.

Link copied to clipboard

Represents the majority of tablets in portrait and large unfolded inner displays in portrait.

Link copied to clipboard

The standard set of size classes. It's supposed to include all size classes and will be expanded whenever a new size class is defined. By default WindowSizeClass.calculateFromSize will only return size classes in DefaultSizeClasses in order to avoid behavioral changes when new size classes are added. You can opt in to support all available size classes by doing: