Package-level declarations

Types

Link copied to clipboard
object LoginRoute : Route

The route to the login screen

Link copied to clipboard
class LoginScreenViewModel(loginUser: LoginUser, validateUserEmail: ValidateUserEmail, validateUserPassword: ValidateUserPassword, router: Router) : ViewModel
Link copied to clipboard
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.

Functions

Link copied to clipboard
@TestOnly
fun LoginLayout(uiState: LoginUiState, alertState: AppAlertState, onEmailChange: (String) -> Unit, onPasswordChange: (String) -> Unit, onSubmit: () -> Unit, onSignUpClick: () -> Unit)
Link copied to clipboard
fun LoginScreen(vm: LoginScreenViewModel = koinViewModel())

UI of the login screen.

Link copied to clipboard

Utility method to provide the route to login screen in a NavGraphBuilder