InlineContent

class InlineContent(initialSize: ERROR CLASS: Symbol not found for Density.() -> ERROR CLASS: Symbol not found for IntSize? = null, placeholderVerticalAlign: ERROR CLASS: Symbol not found for PlaceholderVerticalAlign = AboveBaseline, content: ERROR CLASS: Symbol not found for Density.(alternateText: String) -> Unit)

A Composable that can be embedded inline in a RichTextString by passing to RichTextString.Builder.appendInlineContent.

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.

Constructors

Link copied to clipboard
constructor(initialSize: ERROR CLASS: Symbol not found for Density.() -> ERROR CLASS: Symbol not found for IntSize? = null, placeholderVerticalAlign: ERROR CLASS: Symbol not found for PlaceholderVerticalAlign = AboveBaseline, content: ERROR CLASS: Symbol not found for Density.(alternateText: String) -> Unit)