FormatBuilder

class FormatBuilder : Expression.Builder

Builder for Formatted TextField.

Constructors

FormatBuilder
Link copied to clipboard
fun FormatBuilder()

Functions

build
Link copied to clipboard
open override fun build(): Expression

Build the Format expression.

formatSection
Link copied to clipboard
fun formatSection(content: Expression): Expression.FormatBuilder
fun formatSection(text: String): Expression.FormatBuilder
fun formatSection(content: Expression, block: Expression.FormatSectionBuilder.() -> Unit): Expression.FormatBuilder
fun formatSection(text: String, block: Expression.FormatSectionBuilder.() -> Unit): Expression.FormatBuilder

A component of the Formatted expression.