Writeopia
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
Writeopia
writeopia_ui
/
io.writeopia.ui.utils
/
Spans
Spans
object
Spans
Members
Functions
create
String
With
Spans
Link copied to clipboard
fun
createStringWithSpans
(
text
:
String
?
,
spans
:
Iterable
<
SpanInfo
>
,
isDarkTheme
:
Boolean
)
:
AnnotatedString
recalculate
Spans
Link copied to clipboard
fun
recalculateSpans
(
spans
:
Set
<
SpanInfo
>
,
position
:
Int
,
change
:
Int
)
:
Set
<
SpanInfo
>