Skip to content

A clean and reusable authentication system for Flutter apps. This project provides a structured way to manage form validation, controllers, and authentication logic using clean architecture principles.

Notifications You must be signed in to change notification settings

Yousef-Sayed-Younis/flutter-authentication-clean-architecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Flutter Authentication System | Clean & Reusable

This project provides a clean and structured way to handle authentication in Flutter apps. It centralizes form validation, text controllers, and authentication logic, making it easy to reuse and scale.

🌟 Features

βœ”οΈ Reusable validation classes for form fields
βœ”οΈ AuthController for centralized form management
βœ”οΈ Modular & easy-to-use CustomTextFormField widget
βœ”οΈ Supports email, phone, username, and password fields
βœ”οΈ Follows clean architecture principles for better scalability
βœ”οΈ SOLID-compliant: Follows clean architecture and SOLID principles for better maintainability

πŸ” How It Works

  • Each field type is represented by a FieldType enum.
  • The Validation class provides custom validation logic for different fields.
  • The AuthController manages form state and input handling.
  • The CustomTextFormField widget simplifies text input management.

πŸ’¬ Feedback & Contributions

Have suggestions or improvements? Feel free to open an issue or contribute! πŸš€

About

A clean and reusable authentication system for Flutter apps. This project provides a structured way to manage form validation, controllers, and authentication logic using clean architecture principles.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages