ListItem

sealed interface ListItem

Represents the semantic structure of a list item within a RichString.

Inheritors

Properties

Link copied to clipboard
abstract val color: RgbaColor?

The text color applied to this list item, extracted from TextColorKey.

Link copied to clipboard

The indentation level of this list item.

Link copied to clipboard
abstract val textIndex: Int

The character index of the start of the paragraph that forms this list item.