currentWindowSize

Functions summary

IntSize

This function is deprecated. Prefer LocalWindowInfo instead

Cmn

Functions

currentWindowSize

@Composable
fun currentWindowSize(): IntSize

Returns and automatically update the current window size. It's a convenient function of getting androidx.compose.ui.platform.WindowInfo.containerSize from LocalWindowInfo.

Returns
IntSize

an IntSize that represents the current window size.