LoginUiState

constructor(email: String, isEmailError: Boolean, password: String, isPasswordError: Boolean, submitEnabled: Boolean, loading: Boolean)

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.