SignInScreenData
data class SignInScreenData(val email: TextFiledData = TextFiledData(String()), val password: TextFiledData = TextFiledData(String()))
Immutable data class representing the state of the sign-in form.
This class uses TextFiledData for form fields to encapsulate both the field value and validation error messages. Being immutable enables efficient Compose recomposition.
Parameters
email
Email field state with validation error message.
password
Password field state with validation error message.
See also
ViewModel that manages this screen data
Data class for text field state with validation
Wrapper providing loading and error state
Constructors
Link copied to clipboard
constructor(email: TextFiledData = TextFiledData(String()), password: TextFiledData = TextFiledData(String()))