WindowSize

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

Deprecated

This class moved into different directory

Replace with

import com.parsuomash.affogato.unit.window
WindowSize

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

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)