currentWindowSize

Composable Function

Android
@ExperimentalMaterial3AdaptiveApi
@Composable
fun currentWindowSize(): IntSize

Returns and automatically update the current window size from WindowMetricsCalculator.

Returns

an IntSize that represents the current window size.