toggle menu
structures
0.13.0
common
switch theme
search in API
structures
/
ink.ui.structures.elements
/
FormattedText
/
Builder
Builder
data
class
Builder
(
var
spans
:
MutableList
<
FormattedText.Span
>
=
mutableListOf()
)
Members
Constructors
Builder
Link copied to clipboard
constructor
(
spans
:
MutableList
<
FormattedText.Span
>
=
mutableListOf()
)
Properties
spans
Link copied to clipboard
var
spans
:
MutableList
<
FormattedText.Span
>
Functions
br
Link copied to clipboard
fun
br
(
)
code
Link copied to clipboard
fun
code
(
group
:
Boolean
=
false
,
builder
:
FormattedText.Builder
.
(
)
->
Unit
)
emphasis
Link copied to clipboard
fun
emphasis
(
builder
:
FormattedText.Builder
.
(
)
->
Unit
)
link
Link copied to clipboard
fun
link
(
url
:
String
,
builder
:
FormattedText.Builder
.
(
)
->
Unit
)
space
Link copied to clipboard
fun
space
(
)
strong
Link copied to clipboard
fun
strong
(
builder
:
FormattedText.Builder
.
(
)
->
Unit
)
text
Link copied to clipboard
fun
text
(
text
:
String
)