toggle menu
structures
0.9.0
common
switch theme
search in API
structures
/
ink.ui.structures.elements
/
FormattedText
Formatted
Text
data
class
FormattedText
(
val
spans
:
List
<
FormattedText.Span
>
)
:
UiElement.Static
Members
Constructors
Formatted
Text
Link copied to clipboard
constructor
(
builder
:
FormattedText.Builder
.
(
)
->
Unit
)
constructor
(
spans
:
List
<
FormattedText.Span
>
)
Types
Builder
Link copied to clipboard
data
class
Builder
(
var
spans
:
MutableList
<
FormattedText.Span
>
=
mutableListOf()
)
Span
Link copied to clipboard
sealed
interface
Span
Properties
spans
Link copied to clipboard
val
spans
:
List
<
FormattedText.Span
>
Functions
to
Plain
Text
Element
Link copied to clipboard
fun
toPlainTextElement
(
style
:
TextStyle
)
:
TextElement