This site requires javascript.
Android Code Search
file:androidx/compose/ui/text/AnnotatedString.kt function:AnnotatedString
search
close
info_outline
more_vert
Result 1 of 1
content_copy
Search Result Root
androidx/platform/frameworks/support
keyboard_arrow_right
Branch
Branch
androidx-main
keyboard_arrow_right
Search Result Path
compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/
AnnotatedString.kt
content_copy
Preview
961:
962:
963:
/** Constructs an [AnnotatedString] based on the configurations applied to the [Builder]. */
fun
to
AnnotatedString
(): AnnotatedString {
return
AnnotatedString(
1538:
1539:
1540:
*/
fun
AnnotatedString
(
text: String,
1554:
1555:
1556:
*/
fun
AnnotatedString
(text: String, paragraphStyle: ParagraphStyle): AnnotatedString =
AnnotatedString(text, listOf(), listOf(Range(paragraphStyle,
0
, text.length)))
1564:
1565:
1566:
*/
inline
fun
build
AnnotatedString
(builder: (Builder).() -> Unit): AnnotatedString =
Builder().apply(builder).toAnnotatedString()
1606:
1607:
/** Returns an AnnotatedString with empty text and no annotations. */
internal
fun
empty
AnnotatedString
() = EmptyAnnotatedString
chevron_left
1
chevron_right
Results per page
10
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Got it
Help
Open branch androidx-main