Function

buildAnnotatedString

Build a new AnnotatedString by populating newly created AnnotatedString.Builder provided by builder.

buildAnnotatedString

Source set: Common
public inline fun buildAnnotatedString(builder: (Builder).() -> Unit): AnnotatedString

Build a new AnnotatedString by populating newly created AnnotatedString.Builder provided by builder.

Parameters

builder lambda to modify AnnotatedString.Builder
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: