InlineContent

constructor(initialSize: Density.() -> IntSize? = null, placeholderVerticalAlign: PlaceholderVerticalAlign = AboveBaseline, content: @Composable Density.(alternateText: String) -> Unit)

Parameters

initialSize

Optional function to calculate the initial size of the content. Not specifying this may cause flicker.

placeholderVerticalAlign

Used to specify how a placeholder is vertically aligned within a text line.