Login Screen
Component Detail
User Interface
low complexity
mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
The primary authentication entry point presenting email and password input fields with form validation feedback. Handles credential submission, displays localized error messages for invalid credentials or network failures, and routes to password reset flow. Built using AppTextField and AppButton design tokens to ensure WCAG 2.2 AA compliance from day one.
login-screen
Responsibilities
- Render email and password input fields with accessible labels
- Validate form fields and display inline error messages
- Submit credentials to Auth Service and handle response states
- Navigate to password reset flow on user request
- Display loading state during authentication
Interfaces
build(BuildContext)
onLoginSubmit(email, password)
onForgotPasswordTap()
showError(AuthException)
showLoadingState()
clearForm()
navigateOnSuccess(UserRole)