MutableBlockList

class MutableBlockList(blockList: MutableList<Block> = mutableListOf()) : List<Block>

Constructors

Link copied to clipboard
constructor(blockList: MutableList<Block> = mutableListOf())

Properties

Link copied to clipboard
open override val size: Int

Functions

Link copied to clipboard
fun bookmark(url: String, caption: String, linkUrl: String? = null, annotations: RichTextAnnotations = RichTextAnnotations.DEFAULT): MutableBlockList
Link copied to clipboard
fun bullet(richTextList: RichTextList, children: BlockListProducer? = null): MutableBlockList
fun bullet(text: String, linkUrl: String? = null, annotations: RichTextAnnotations = RichTextAnnotations.DEFAULT, children: BlockListProducer? = null): MutableBlockList
Link copied to clipboard
fun callout(richTextList: RichTextList, icon: EmojiOrFile? = null, children: BlockListProducer? = null): MutableBlockList
fun callout(text: String, icon: EmojiOrFile? = null, linkUrl: String? = null, annotations: RichTextAnnotations = RichTextAnnotations.DEFAULT, children: BlockListProducer? = null): MutableBlockList
Link copied to clipboard
fun code(language: String, text: RichTextList): MutableBlockList
fun code(language: String, text: String, linkUrl: String? = null, annotations: RichTextAnnotations = RichTextAnnotations.DEFAULT): MutableBlockList
Link copied to clipboard
open operator override fun contains(element: Block): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<Block>): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun equation(expression: String): MutableBlockList
Link copied to clipboard
open operator override fun get(index: Int): Block
Link copied to clipboard
fun heading1(text: String, linkUrl: String? = null, annotations: RichTextAnnotations = RichTextAnnotations.DEFAULT): MutableBlockList
Link copied to clipboard
fun heading2(text: String, linkUrl: String? = null, annotations: RichTextAnnotations = RichTextAnnotations.DEFAULT): MutableBlockList
Link copied to clipboard
fun heading3(text: String, linkUrl: String? = null, annotations: RichTextAnnotations = RichTextAnnotations.DEFAULT): MutableBlockList
Link copied to clipboard
fun image(url: String, caption: RichTextList? = null): MutableBlockList
fun image(url: String, caption: String? = null, linkUrl: String? = null, annotations: RichTextAnnotations = RichTextAnnotations.DEFAULT): MutableBlockList
Link copied to clipboard
open override fun indexOf(element: Block): Int
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): Iterator<Block>
Link copied to clipboard
open override fun lastIndexOf(element: Block): Int
Link copied to clipboard
open override fun listIterator(): ListIterator<Block>
open override fun listIterator(index: Int): ListIterator<Block>
Link copied to clipboard
fun number(richTextList: RichTextList, children: BlockListProducer? = null): MutableBlockList
fun number(text: String, linkUrl: String? = null, annotations: RichTextAnnotations = RichTextAnnotations.DEFAULT, children: BlockListProducer? = null): MutableBlockList
Link copied to clipboard
fun paragraph(text: String, linkUrl: String? = null, annotations: RichTextAnnotations = RichTextAnnotations.DEFAULT, children: BlockListProducer? = null): MutableBlockList
Link copied to clipboard
fun quote(richTextList: RichTextList, children: BlockListProducer? = null): MutableBlockList
fun quote(text: String, linkUrl: String? = null, annotations: RichTextAnnotations = RichTextAnnotations.DEFAULT, children: BlockListProducer? = null): MutableBlockList
Link copied to clipboard
open override fun subList(fromIndex: Int, toIndex: Int): List<Block>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun toDo(richTextList: RichTextList, checked: Boolean, children: BlockListProducer? = null): MutableBlockList
fun toDo(text: String, checked: Boolean, linkUrl: String? = null, annotations: RichTextAnnotations = RichTextAnnotations.DEFAULT, children: BlockListProducer? = null): MutableBlockList
Link copied to clipboard
fun toggle(richTextList: RichTextList, children: BlockListProducer? = null): MutableBlockList
fun toggle(text: String, linkUrl: String? = null, annotations: RichTextAnnotations = RichTextAnnotations.DEFAULT, children: BlockListProducer? = null): MutableBlockList
Link copied to clipboard
fun video(url: String, caption: RichTextList? = null): MutableBlockList
fun video(url: String, caption: String? = null, linkUrl: String? = null, annotations: RichTextAnnotations = RichTextAnnotations.DEFAULT): MutableBlockList