GlobalWindowSize

object GlobalWindowSize

Definition of the window size to be on the global scope.

Properties

Link copied to clipboard
@Dp
var compactWindowDpSize: Int = 600

Defines most phones in portrait mode

Link copied to clipboard
@Dp
var mediumWindowDpSize: Int = 840

Defines most foldables and tablets in portrait mode

Link copied to clipboard
var windowSizeFactory: (windowPixelSize: Size) -> WindowSize? = null

A global factory class of the WindowSize.