InputOTPFieldStyle
An interface for defining the styling of an OTP (One-Time Password) input field. This interface provides several composable methods to retrieve different style attributes based on the state of the input field such as whether it is enabled, focused, or has an error.
The methods in this interface are expected to be implemented in a way that they return the appropriate Color
values wrapped in State
objects for reactive updates.
Inheritors
Functions
Link copied to clipboard
Returns the background color for the OTP input field in style based on its state.
Link copied to clipboard
Returns the text color for the OTP input field in style based on whether it is enabled or disabled.