compute

fun compute(windowWidth: Dp): WindowWidthSizeClass

Computes the WindowWidthSizeClass based on the provided window width.

Return

The corresponding WindowWidthSizeClass.

Parameters

windowWidth

The width of the window in Dp.