Dependency diagrams
flowchart LR
A(Localization) --> B(Core)
B --> C(Pagination)
B --> D(Widget)
Base config bloc for app
- Support runBlocCatching for excute function safe
- Support status for page
Base config for StatefulWidget
A controller for a paged widget. If you modify the itemList, error or nextPageKey properties, the paged widget will be notified and will update itself appropriately.
Some rules for this project, please read carefully. If you have any questions, please contact me.
Type | Description |
---|---|
feat | some new feature |
fix | fix bug |
refactor | refactor code, eg. rename variable, extract method, improve architecture without changing behavior |
docs | update or add documentation |
test | add, update, or fix tests |
ci | update CI config, eg. add auto-test on PR |
chore | update the build process, or update dependencies, or remove unnecessary files, or upgrade an dependency to a newer version, or perform any other chores |
Example:
- feat(Bloc): authentication
- fix(Home): bug login
- docs(README): update documentation
Type | Description |
---|---|
hotfix | fix bug, quickly fix a bug in a stable release |
feature | add new feature |
test | add, update, or fix tests |
build | update build process, eg. add auto-test on PR |
Example:
- feature/auth
- test/spash
Type | Description |
---|---|
Android | Mobile App on Android OS |
iOS | Mobile App on iOS OS |
Web | Web App on Web browser |
Windows | Desktop App on Windows OS |
Linux | Desktop App on Linux OS |
macOS | Desktop App on macOS OS |
Example:
- [Mobile] Add new feature
- [Web] [Linux] Fix bug
In Flutter, code generation is used for a variety of purposes, such as generating code for working with JSON data, generating code for working with databases, and generating code for working with web services. Code generation can make it easier to write and maintain code, as it can automate repetitive tasks and reduce the amount of manual coding that is required.
- bloc_architecture_core
flutter pub get flutter pub run build_runner build --delete-conflicting-outputs
- bloc_architecture_localization
flutter pub get flutter gen-l10n
Code generation for immutable classes that has a simple syntax/API without compromising on the features.
Automatically generate code for converting to and from JSON by annotating Dart classes.
The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.
Extension for Hive. Automatically generates TypeAdapters to store any class.
Injectable is a convenient code generator for get_it. Inspired by Angular DI, Guice DI and inject.dart.
Generator is an dio client generator using source_gen and inspired by Chopper and Retrofit.
A builder that supports generated strongly-typed route helpers for package:go_router