responsiveAction

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

Executes an action based on the current ResponsiveClass of the window

Parameters

onExpandedSizeClass

The action to execute when the device's window currently belongs to expanded class

onExpandedWidthMediumHeight

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

onExpandedWidthCompactHeight

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

onMediumSizeClass

The action to execute when the device's window currently belongs to medium class

onMediumWidthExpandedHeight

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

onMediumWidthCompactHeight

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

onCompactSizeClass

The action to execute when the device's window currently belongs to compact class

onCompactWidthExpandedHeight

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

onCompactWidthMediumHeight

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