OtpTextStyles

class OtpTextStyles(val filledTextStyle: TextStyle, val placeholderTextStyle: TextStyle)(source)

Text styles for a cell holding a character and for an empty cell showing the placeholder. Get one from OtpInputDefaults.textStyles.

Constructors

Link copied to clipboard
constructor(filledTextStyle: TextStyle, placeholderTextStyle: TextStyle)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun copy(filledTextStyle: TextStyle = this.filledTextStyle, placeholderTextStyle: TextStyle = this.placeholderTextStyle): OtpTextStyles
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int