JengaOtpCellState

What a single cell of a JengaOtpField shows, passed to a custom cell slot.

Properties

Link copied to clipboard
val char: Char?

the character in this cell, or null when it is empty.

Link copied to clipboard

whether the field is enabled.

Link copied to clipboard
val index: Int

the cell's position, starting at 0.

Link copied to clipboard

whether the next typed character lands in this cell (the field is focused).

Link copied to clipboard

whether this cell holds a character.

Link copied to clipboard

whether characters should be hidden.

Link copied to clipboard

the field's validation status.