FormattedList

inline fun RichTextScope.FormattedList(listType: ListType, vararg children: @Composable RichTextScope.() -> Unit)
fun <T> RichTextScope.FormattedList(listType: ListType, items: List<T>, startIndex: Int = 0, drawItem: @Composable RichTextScope.(T) -> Unit)

Creates a formatted list such as a bullet list or numbered list.

Samples

com.halilibo.richtext.ui.previews.OrderedListPreviewcom.halilibo.richtext.ui.previews.UnorderedListPreview