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.

Constructors

Link copied to clipboard
constructor(email: String, isEmailError: Boolean, password: String, isPasswordError: Boolean, submitEnabled: Boolean, loading: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard