ResponsiveContent

fun ResponsiveContent(    onExpandedSizeClass: @Composable () -> Unit,     onExpandedWidthMediumHeight: @Composable () -> Unit? = onExpandedSizeClass,     onExpandedWidthCompactHeight: @Composable () -> Unit? = onExpandedSizeClass,     onMediumSizeClass: @Composable () -> Unit,     onMediumWidthExpandedHeight: @Composable () -> Unit? = onMediumSizeClass,     onMediumWidthCompactHeight: @Composable () -> Unit? = onMediumSizeClass,     onCompactSizeClass: @Composable () -> Unit,     onCompactWidthExpandedHeight: @Composable () -> Unit? = onCompactSizeClass,     onCompactWidthMediumHeight: @Composable () -> Unit? = onCompactSizeClass)

Displays the correct content based on the current ResponsiveClass of the window

Parameters

onExpandedSizeClass

The content to display when the device's window currently belongs to expanded class

onExpandedWidthMediumHeight

The content to display when the device's window currently belongs to expanded width class and medium height class

onExpandedWidthCompactHeight

The content to display when the device's window currently belongs to expanded width class and compact height class

onMediumSizeClass

The content to display when the device's window currently belongs to medium class

onMediumWidthExpandedHeight

The content to display when the device's window currently belongs to medium width class and expanded height class

onMediumWidthCompactHeight

The content to display when the device's window currently belongs to medium width class and compact height class

onCompactSizeClass

The content to display when the device's window currently belongs to compact class

onCompactWidthExpandedHeight

The content to display when the device's window currently belongs to compact width class and expanded height class

onCompactWidthMediumHeight

The content to display when the device's window currently belongs to compact width class and medium height class