Package-level declarations

Types

Link copied to clipboard
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.

Link copied to clipboard

A special type of AnnotatedString that is formatted using higher-level directives that are configured using a RichTextStringStyle.

Link copied to clipboard
class RichTextStringStyle(val boldStyle: ERROR CLASS: Symbol not found for SpanStyle?? = null, val italicStyle: ERROR CLASS: Symbol not found for SpanStyle?? = null, val underlineStyle: ERROR CLASS: Symbol not found for SpanStyle?? = null, val strikethroughStyle: ERROR CLASS: Symbol not found for SpanStyle?? = null, val subscriptStyle: ERROR CLASS: Symbol not found for SpanStyle?? = null, val superscriptStyle: ERROR CLASS: Symbol not found for SpanStyle?? = null, val codeStyle: ERROR CLASS: Symbol not found for SpanStyle?? = null, val linkStyle: ERROR CLASS: Symbol not found for TextLinkStyles?? = null)

Defines the SpanStyles that are used for various RichTextString formatting directives.

Functions

Link copied to clipboard

Convenience function for creating a RichTextString using a Builder.

Link copied to clipboard
fun RichTextScope.Text(text: RichTextString, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, onTextLayout: (ERROR CLASS: Symbol not found for TextLayoutResult) -> Unit = {}, softWrap: Boolean = true, overflow: ERROR CLASS: Symbol not found for TextOverflow = TextOverflow.Clip, maxLines: Int = Int.MAX_VALUE)

Renders a RichTextString as created with richTextString.

Link copied to clipboard