Class

CommitTextCommand

Commit final text to the text box and set the new cursor position.

Source set: Common
public class CommitTextCommand(
    public val annotatedString: AnnotatedString,
    public val newCursorPosition: Int,
) : EditCommand

Commit final text to the text box and set the new cursor position.

See commitText).

Parameters

annotatedString The text to commit.
newCursorPosition The cursor position after inserted text.

Properties

text

Source set: Common
public val text: String
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: