responsiveAssignment

fun <T> responsiveAssignment(    onExpandedSizeClass: () -> T,     onExpandedWidthMediumHeight: () -> T = onExpandedSizeClass,     onExpandedWidthCompactHeight: () -> T = onExpandedSizeClass,     onMediumSizeClass: () -> T,     onMediumWidthExpandedHeight: () -> T = onMediumSizeClass,     onMediumWidthCompactHeight: () -> T = onMediumSizeClass,     onCompactSizeClass: () -> T,     onCompactWidthExpandedHeight: () -> T = onCompactSizeClass,     onCompactWidthMediumHeight: () -> T = onCompactSizeClass): T

Assigns a specific value based on the current ResponsiveClass of the window

Parameters

onExpandedSizeClass

The value to assign when the device's window currently belongs to expanded class

onExpandedWidthMediumHeight

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

onExpandedWidthCompactHeight

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

onMediumSizeClass

The value to assign when the device's window currently belongs to medium class

onMediumWidthExpandedHeight

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

onMediumWidthCompactHeight

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

onCompactSizeClass

The value to assign when the device's window currently belongs to compact class

onCompactWidthExpandedHeight

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

onCompactWidthMediumHeight

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