LoginUiState
data class LoginUiState(val email: String, val isEmailError: Boolean, val password: String, val isPasswordError: Boolean, val submitEnabled: Boolean, val loading: Boolean)
State of the login screen UI.
Parameters
email
the email entered by the user.
isEmailError
whether or not the email entered by the user is not valid.
password
the password entered by the user.
isPasswordError
whether or not the password entered by the user is not valid.
submitEnabled
whether or not the submit button is enabled.
loading
whether or not there is an ongoing operation.