Dimension

constructor(dp: Dp, sizeClass: WindowSizeClass)

A measurement and classification of the screen size.

Parameters

dp

Size of the screen in DPs (density-independent pixels).

sizeClass

Classification of the screen size based on pre-defined breakpoints defined by Google, as followed in ScreenClassifier.