WindowSize

data class WindowSize(val width: WindowType, val height: WindowType)

Window size are a set of opinionated viewport breakpoints to design, develop, and test responsive application layouts against. For more details check Support different screen sizes documentation.

WindowSize contains a WindowType, representing the window size for this window's width and height respectively.

See rememberWindowSize to calculate the WindowSizeClass for an Activity's current window

Since

1.0.0

Constructors

Link copied to clipboard
constructor(width: WindowType, height: WindowType)

Properties

Link copied to clipboard

height-based window size class (WindowType)

Link copied to clipboard

width-based window size class (WindowType)