https://github.com/yousef-sayed-younis/flutter-authentication-clean-architecture
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.
https://github.com/yousef-sayed-younis/flutter-authentication-clean-architecture
authentication clean-architecture dart flutter form-validation state-management textformfield
Last synced: about 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/yousef-sayed-younis/flutter-authentication-clean-architecture
- Owner: Yousef-Sayed-Younis
- Created: 2025-03-06T12:36:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-06T12:51:02.000Z (over 1 year ago)
- Last Synced: 2025-03-06T13:39:54.406Z (over 1 year ago)
- Topics: authentication, clean-architecture, dart, flutter, form-validation, state-management, textformfield
- Language: Dart
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🚀 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**! 🚀