Filled

Functions

Link copied to clipboard
open override fun getBackgroundColor(enabled: Boolean, isError: Boolean): State<Color>

Returns the background color for the OTP input field in style based on its state.

Link copied to clipboard
open override fun getBorderColor(enabled: Boolean, isFocused: Boolean, isError: Boolean): State<Color>

Returns the border color for the OTP input field in style based on its state.

Link copied to clipboard
open override fun getTabIndicatorColor(enabled: Boolean, isFocused: Boolean, isError: Boolean): State<Color>

Returns the tab indicator color for the OTP input field in style based on its state. The tab indicator is typically used to show the cursor or active input position.

Link copied to clipboard
open override fun getTextColor(enabled: Boolean): State<Color>

Returns the text color for the OTP input field in style based on whether it is enabled or disabled.