Package-level declarations

Functions

Link copied to clipboard
@Composable
fun Container(modifier: Modifier = Modifier, color: Color = Color.Unspecified, contentColor: Color = Color.Unspecified, shape: Shape = RectangleShape, border: Border = BorderDefaults.None, content: @Composable BoxScope.() -> Unit)

Container is a building block component that can be used for any static element or as an interactive container.

@Composable
fun Container(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, onLongClick: () -> Unit? = null, style: Style = StyleDefaults.None, interactionSource: MutableInteractionSource? = null, selected: Boolean? = null, content: @Composable BoxScope.() -> Unit)

Container is a building block component that can be used for any selectable TV element or on its own as a selectable container. The Container handles an additional state compared to Container to indicate whether it is currently selected.