Package-level declarations

Types

Link copied to clipboard

BorderToColor list of positions for the border to color by the colorOneSideBorder method

Link copied to clipboard

The CompactClassComponent annotation is useful to indicate the components which are shown on those devices which belong to the WindowWidthSizeClass.Compact class

Link copied to clipboard

The ExpandedClassComponent annotation is useful to indicate the components which are shown on those devices which belong to the Expanded class

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class LayoutCoordinator(val classes: Array<ResponsiveClass> = [])

The LayoutCoordinator annotation is useful to indicate the components which are just coordinator of the specific components designed for the specific size classes

Link copied to clipboard

The MediumClassComponent annotation is useful to indicate the components which are shown on those devices which belong to the Medium class

Link copied to clipboard

ResponsiveClass list of the available responsive content classes

Link copied to clipboard

The ResponsiveClassComponent annotation is useful to indicate the components which are shown on those devices which belong to the specified classes. This annotation can include both the WindowWidthSizeClass and WindowHeightSizeClass categorizations

Functions

Link copied to clipboard
fun <T> awaitNullItemLoaded(itemToWait: T?, extras: (T) -> Boolean = { true }, loadedContent: @Composable (T) -> Unit)

Method used to wait asynchronously the change of the state of a null item to its non-null value.

Link copied to clipboard

Method used to calculate the current ResponsiveClass based on the screen dimension

Link copied to clipboard
fun Modifier.colorOneSideBorder(borderToColor: BorderToColor = START, width: Dp, color: Color, shape: Shape = RectangleShape): Modifier

Method used to draw just one side of a component.

Link copied to clipboard
actual fun copyOnClipboard(content: String, onCopy: () -> Unit?)

Method used to copy to the clipboard a content value

expect fun copyOnClipboard(content: String, onCopy: () -> Unit? = null)

Method used to copy to the clipboard a content value

actual fun copyOnClipboard(content: String, onCopy: () -> Unit?)

Method used to copy to the clipboard a content value

actual fun copyOnClipboard(content: String, onCopy: () -> Unit?)

Method used to copy to the clipboard a content value

actual fun copyOnClipboard(content: String, onCopy: () -> Unit?)

Method used to copy to the clipboard a content value

Link copied to clipboard

Method used to get the current window height size class of the device

Link copied to clipboard

Method used to get the current window size class of the device

Method used to get the current window size class of the device

Method used to get the current window size class of the device

Method used to get the current window size class of the device

Method used to get the current window size class of the device

Link copied to clipboard

Method used to get the current window width size class of the device

Link copied to clipboard

Method used to generate a random color for a collection

Link copied to clipboard

Method used to get the current locale language set

Method used to get the current locale language set

Method used to get the current locale language set

Method used to get the current locale language set

Method used to get the current locale language set

Link copied to clipboard
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

Link copied to clipboard
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

Link copied to clipboard
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

Link copied to clipboard

Method used to get the color from its hex code

Link copied to clipboard

Method used to transform a Color value in the corresponding hex code