item
fun item(label: String, subListType: OudsBulletListType? = null, subListTextStyle: OudsBulletListTextStyle? = null, builder: OudsBulletListBuilder.() -> Unit? = null)
Adds an item to the bullet list.
This function can also define a nested sub-list by providing a builder lambda.
Parameters
label
The text content of the list item.
subListType
The specific OudsBulletListType for the nested sub-list, if any. If null, the type is inherited from the parent list.
subListTextStyle
The specific OudsBulletListTextStyle for the nested sub-list, if any. If null, the text style is inherited from the parent list.
builder
A lambda scope for defining nested list items.