SignUpUiState

data class SignUpUiState(val email: String, val isEmailError: Boolean, val name: String, val isNameError: Boolean, val password: String, val isPasswordError: Boolean, val submitEnabled: Boolean, val loading: Boolean)

State of the sign up screen UI.

Parameters

email

the email entered by the user.

isEmailError

whether or not the email entered by the user is not valid.

name

the name entered by the user.

isNameError

whether or not the name 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, name: String, isNameError: 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
Link copied to clipboard
Link copied to clipboard