CodeBlockStyle

data class CodeBlockStyle(val textStyle: ERROR CLASS: Symbol not found for TextStyle?? = null, val modifier: ERROR CLASS: Symbol not found for Modifier?? = null, val padding: ERROR CLASS: Symbol not found for TextUnit?? = null, val wordWrap: Boolean? = null)

Defines how CodeBlocks are rendered.

Parameters

textStyle

The TextStyle to use for the block.

modifier

The Modifier to use for the block.

padding

The amount of space between the edge of the text and the edge of the background.

wordWrap

Whether a code block breaks the lines or scrolls horizontally.

Constructors

Link copied to clipboard
constructor(textStyle: ERROR CLASS: Symbol not found for TextStyle?? = null, modifier: ERROR CLASS: Symbol not found for Modifier?? = null, padding: ERROR CLASS: Symbol not found for TextUnit?? = null, wordWrap: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val modifier: ERROR CLASS: Symbol not found for Modifier??
Link copied to clipboard
val padding: ERROR CLASS: Symbol not found for TextUnit??
Link copied to clipboard
val textStyle: ERROR CLASS: Symbol not found for TextStyle??
Link copied to clipboard