Package-level declarations

Functions

Link copied to clipboard
fun Autofill(autofillTypes: ERROR CLASS: Symbol not found for ImmutableList<ERROR CLASS: Symbol not found for AutofillType>, onFill: (String) -> Unit, content: (ERROR CLASS: Symbol not found for AutofillNode) -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier)

Add autofill support to a given Composable

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Modifier.dashedBorder(border: ERROR CLASS: Symbol not found for BorderStroke, shape: ERROR CLASS: Symbol not found for Shape = RectangleShape): ERROR CLASS: Symbol not found for Modifier

Modify element to add border with appearance specified with a border and a shape, pad the content by the BorderStroke.width and clip it.

fun ERROR CLASS: Symbol not found for Modifier.dashedBorder(width: ERROR CLASS: Symbol not found for Dp, color: ERROR CLASS: Symbol not found for Color, shape: ERROR CLASS: Symbol not found for Shape = RectangleShape): ERROR CLASS: Symbol not found for Modifier

Returns a Modifier that adds border with appearance specified with width, color and a shape, pads the content by the width and clips it.

Link copied to clipboard
inline fun ERROR CLASS: Symbol not found for Modifier.ifFalse(value: Boolean, chain: ERROR CLASS: Symbol not found for Modifier.() -> ERROR CLASS: Symbol not found for Modifier): ERROR CLASS: Symbol not found for Modifier

Modifier to make it easy to conditionally add a modifier based on value

Link copied to clipboard
inline fun <T : Any> ERROR CLASS: Symbol not found for Modifier.ifNotNull(value: T?, chain: ERROR CLASS: Symbol not found for Modifier.(T) -> ERROR CLASS: Symbol not found for Modifier): ERROR CLASS: Symbol not found for Modifier

Modifier to make it easy to conditionally add a modifier based on value nullability

Link copied to clipboard
inline fun <T : Any> ERROR CLASS: Symbol not found for Modifier.ifNull(value: T?, chain: ERROR CLASS: Symbol not found for Modifier.() -> ERROR CLASS: Symbol not found for Modifier): ERROR CLASS: Symbol not found for Modifier

Modifier to make it easy to conditionally add a modifier based on value nullability

Link copied to clipboard
inline fun ERROR CLASS: Symbol not found for Modifier.ifTrue(value: Boolean, chain: ERROR CLASS: Symbol not found for Modifier.() -> ERROR CLASS: Symbol not found for Modifier): ERROR CLASS: Symbol not found for Modifier

Modifier to make it easy to conditionally add a modifier based on value

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Modifier.ignoreParentHorizontalPadding(horizontalPadding: ERROR CLASS: Symbol not found for Dp): ERROR CLASS: Symbol not found for Modifier

Ignore the parent padding by horizontalPadding. Be careful since concretely it makes the maxWidth bigger which could make this composable clipped by the parent width if misused

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Modifier.invisibleSemantic(): ERROR CLASS: Symbol not found for Modifier

Marks this node as hidden from accessibility services, causing screen readers to skip it during linear navigation. Use this when the node is obscured (for example, under a scrim) and should not be announced.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Modifier.minimumTouchTargetSize(): ERROR CLASS: Symbol not found for Modifier

Reserves at least 44.dp in size to disambiguate touch interactions if the element would measure smaller.

Link copied to clipboard
fun SlotArea(shape: ERROR CLASS: Symbol not found for Shape = SparkTheme.shapes.extraLarge, color: ERROR CLASS: Symbol not found for Color = Color.Red, content: ERROR CLASS: Symbol not found for BoxScope.() -> Unit)

A composable that hides its content and draws a dashed border to identify slot areas.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Modifier.sparkUsageOverlay(overlayColor: ERROR CLASS: Symbol not found for Color = Color.Red): ERROR CLASS: Symbol not found for Modifier

A Modifier.Element that adds a draw layer to identify spark components easily.