Composed

data class Composed(val content: @Composable () -> Unit) : ToolbarIcon

Caller-supplied Composable content. Use for items whose icon is a function of state (e.g. annotation color preview circle).

Must be side-effect free during composition.

Constructors

Link copied to clipboard
constructor(content: @Composable () -> Unit)

Properties

Link copied to clipboard
val content: @Composable () -> Unit

The composable that renders the icon.