Composable Function

currentWindowSize

Returns and automatically update the current window size from WindowMetricsCalculator.

Source set: Android

Added in 1.0.0-alpha06

@ExperimentalMaterial3AdaptiveApi
@Composable
fun currentWindowSize(): IntSize

Returns and automatically update the current window size from WindowMetricsCalculator.

Returns

an IntSize that represents the current window size.