Class

TextIndent

Indents paragraph lines.

Source set: Common
public class TextIndent(
    public val firstLine: TextUnit = 0.sp,
    public val restLine: TextUnit = 0.sp,
)

Indents paragraph lines.

Parameters

firstLine indentation amount for the first line
restLine indentation amount for all lines except the first

Functions

copy

Source set: Common
public fun copy(
        firstLine: TextUnit = this.firstLine,
        restLine: TextUnit = this.restLine,
    ): TextIndent

Members

Companion

Source set: Common
public companion object

Properties

None

Source set: Common
@Stable public val None: TextIndent = TextIndent()

Default configuration representing no text indent.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: