Package-level declarations

Functions

Link copied to clipboard
fun TileSchemaBuilderScope.SimpleText(text: String, id: String = randomId(), events: EventSchemaBuilderScope.() -> Unit = {}, style: StyleSchemaBuilderScope.() -> Unit = { size( width = wrapHorizontally(), height = wrapVertically() ) }, visibility: TileSchema.Visibility = visible(), searchableTerms: List<String>? = null, color: ColorSchema? = null, typography: TypographySchema? = null, autoSize: AutoSizeSchema? = null, fontSize: Float? = null, fontStyle: FontStyleSchema? = null, fontWeight: FontWeightSchema? = null, fontFamily: FontFamilySchema? = null, letterSpacing: Float? = null, textDecoration: TextDecorationSchema? = null, textAlign: TextAlignSchema? = null, lineHeight: Float? = null, overflow: TextOverflowSchema? = null, softWrap: Boolean? = null, maxLines: Int? = null, minLines: Int? = null)

Renders plain text showing text. typography provides the base text style, falling back to the ambient default when null; every other styling field overrides one property on top of that base and is ignored when null: color, autoSize, fontSize (sp), fontStyle, fontWeight, fontFamily, letterSpacing (sp), textDecoration, textAlign and lineHeight (sp). overflow defaults to clipping, softWrap to true, maxLines to unbounded and minLines to 1. Dispatches no triggers and is not clickable — wrap it in a Box or Card for tap handling. Renders plain text only — no inline annotations, links or markdown; wrap it in a SelectionContainer to make the text selectable.