Vietnamese: https://medium.com/@NALSengineering/list/flutter-xay-dung-base-project-hoan-hao-tu-a-en-a-c240f845f660
Code-generation tool: https://github.com/ntminhdn/Flutter-Bloc-CleanArchitecture/blob/master/tools/nals/nalsmobilebrain-0.10.0.vsix
Tool's features: https://medium.com/@NALSengineering/a-must-have-tool-if-youre-working-with-clean-architecture-4cfd07b473b6
How to build the tool: https://medium.com/@NALSengineering/code-2x-faster-with-custom-vscode-extensions-4f68e362be3d
Flutter project using clean architecture and bloc pattern.
Architecture: Clean Architecture
State management: flutter_bloc
Navigation: auto_route
DI: get_it, injectable
REST API: dio
GraphQL: artemis, graphql_flutter
Database: objectbox
Shared Preferences: encrypted_shared_preferences
Data class: freezed
Lint: dart_code_metrics, flutter_lints
CI/CD: Github Actions, Bitbucket Pipelines
Paging: infinite_scroll_pagination
Assets generator: flutter_gen_runner, flutter_launcher_icons, flutter_native_splash
Shimmer loading effect
WARN: If you already installed melos
and lefthook
, you could omit this step.
Install melos:
dart pub global activate melos 3.1.0
Install lefthook (optional):
gem install lefthook
Export paths:
.zshrc
or .bashrc
file
export PATH="$PATH:<path to flutter>/flutter/bin"
export PATH="$PATH:<path to flutter>/flutter/bin/cache/dart-sdk/bin"
export PATH="$PATH:~/.pub-cache/bin"
export PATH="$PATH:~/.gem/gems/lefthook-0.7.7/bin"
.zshrc
source ~/.zshrc
make gen_env
make sync
lefthook install
(optional)MIT