Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chunghha/fl_template
Flutter App Template
https://github.com/chunghha/fl_template
dio flutter freezed gorouter melos riverpod
Last synced: about 12 hours ago
JSON representation
Flutter App Template
- Host: GitHub
- URL: https://github.com/chunghha/fl_template
- Owner: chunghha
- Created: 2021-12-26T16:55:55.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-17T11:12:51.000Z (6 months ago)
- Last Synced: 2024-05-17T12:30:11.663Z (6 months ago)
- Topics: dio, flutter, freezed, gorouter, melos, riverpod
- Language: Dart
- Homepage:
- Size: 11.3 MB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flutter app template - alpha
**Please review and feedback to Discussions.**
This repo is to provide a flutter app template for datacentric apps with backend services.
- Layer architecture with multi packages with **[melos](https://pub.dev/packages/melos)**
- Model classes with **[freezed](https://pub.dev/packages/freezed)** to hold responses from backend services
- Adapter classes with **[dio](https://pub.dev/packages/dio)** to interface with RESTful services
- State management with **[riverpod](https://pub.dev/packages/riverpod)** globally and **[flutter_hooks](https://pub.dev/packages/flutter_hooks)** locally
- Route to pages with **[go_router](https://pub.dev/packages/go_router)**
- **[all lint rules](https://pub.dev/packages/all_lint_rules_community)** with few rules disabled
### Melos Setup
- [01_Melos_Setup](./markdowns/01_melos_setup.md)### Package Model
- [02_Package_Model](./markdowns/02_package_model.md)
- [02_Freezed_Classes](./markdowns/02_freezed_classes.md)### Package Adapter
- [03_Package_Adapter](./markdowns/03_package_adapter.md)### Package Theme
- [04_Package_Theme](./markdowns/04_package_theme.md)### Package UI
- [05_Package_UI](./markdowns/05_package_ui.md)### Flutter Hooks / Riverpod
- [06_Hooks_Riverpod](./markdowns/06_hooks_and_riverpod.md)### Go_Router
- [07_Go_Router](./markdowns/07_go_router.md)### Google_Fonts
- [08_Google_Fonts](./markdowns/08_google_fonts.md)### Launcher Icon
- Just run this melos task once a launcher icon(**launcher.png**) placed into ui package's "**assets/icons**".
```bash
melos run generate:launcher_icon
```