🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

KeyboardCapitalization

The capitalization style to be used in KeyboardOptions.

Source set: Common
public class KeyboardCapitalization private constructor(private val value: Int)

The capitalization style to be used in KeyboardOptions.

Only applicable to text-based KeyboardTypes such as KeyboardType.Text or KeyboardType.Ascii. IMEs may ignore this option.

Members

Companion

Source set: Common
public companion object

Properties

Unspecified

Source set: Common
public val Unspecified: KeyboardCapitalization

The capitalization behavior is not specified.

None

Source set: Common
public val None: KeyboardCapitalization

Disables auto-capitalization.

When to use it: Ideal for passwords, email addresses, URLs, or search filters.

Characters

Source set: Common
public val Characters: KeyboardCapitalization

Capitalizes all characters.

When to use it: Ideal for coupon codes, state abbreviations, or license plates.

Words

Source set: Common
public val Words: KeyboardCapitalization

Capitalizes the first character of every word.

When to use it: Ideal for mailing addresses or contact names.

Sentences

Source set: Common
public val Sentences: KeyboardCapitalization

Capitalizes the first character of every sentence.

When to use it: Ideal for chat messages, email bodies, or other free-form text.