项目
在 GitHub 查看
lazycatlabs/flutter_auth_app
关于
Flutter auth app with TDD Clean Architecture
其他项目实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Flutter App Auth 📱
This app has Auth Functions like Login, Register, and Show pagination data.
Authentication uses LazyAuth, while the paginated Dashboard user list uses DummyJSON.
This app also implementing Flutter Clean Architecture with TDD.
Recorded from the Maestro E2E run (maestro-stg/main.yaml) on iPhone 18 Pro Max, iOS 27 · MP4 version
Pre-requisites 📐
| Technology | Recommended Version | Installation Guide |
|---|---|---|
| Flutter | v3.47.x | Flutter Official Docs |
| Dart | v3.13.x | Installed automatically with Flutter |
Get Started 🚀
- Clone this project
flutter pub get
- Run to generate localization files
flutter gen-l10n
- Run to generate freezes files
flutter pub run build_runner build --delete-conflicting-outputs
- Run for staging or
flutter run --flavor stg -t lib/main.dart --dart-define-from-file .env.stg.json
- Run for production
flutter run --flavor prd -t lib/main.dart --dart-define-from-file .env.prd.json
- Test Coverage, we ignore some folders and files which is not necessary to test coverage because it are generated file
- Note: on macOS, you need to have lcov installed on your system (
brew install lcov) to use this:
flutter test -j8 --coverage;lcov --remove coverage/lcov.info 'lib/core/localization/generated/' 'lib/core/resources/*' 'lib/utils/services/firebase/*' '**/*.g.dart' -o coverage/new_lcov.info ;genhtml coverage/new_lcov.info -o coverage/html
- To generate a launcher icon based on Flavor
dart run flutter_launcher_icons
- To generate native splash screen
dart run flutter_native_splash:create --flavors stg,prd
- To generate mock class
dart pub run build_runner build
Feature ✅
- BLoC State Management
- Clean Architecture with TDD
- Unit Test
- Widget Test
- BLoC test
- Theme Configuration:
System, Light, Dark - Multi-Language:
English, Bahasa - Login, Register Example
- Pagination Example
- Autofill Username and Password
- Integration Test
- Implement multi-flavor
- Auto routing based on login status
- Implement Go Router
- Burgundy minimalist theme with Instrument Sans, animated transitions and Skeletonizer loading
TODO 📝
- Login with Biometric / FaceID
Maestro Test 🧪
- Install Maestro on your machine Maestro
- Run this command to run the test
maestro test maestro-stg/main.yaml #or maestro test maestro-prd/main.yaml
Architecture Proposal by Resocoder

💡Tips
- Flutter native splashscreen: The brand image in Android > 12 the frame size is 5:2, if the width is 500px, the height should be 500/2,5 = 200px
📜 GNU General Public License v3.0
Buy me coffee if you love my works ☕️
探索相关项目
加载中…