This is a normal flutter app. You should follow the instructions in the official documentation. This project uses BLoC (business logic component) to separate the business logic with UI itself. It's recommended to do self-study about it before jumping into the project here. And also on this project uses Modularization approach to separate each feature (core, shared, ui modules). You can do self-study about it in here.
# Root Project . | ├── lib # Name of module (default from Flutter). │ ├── launcher # Main Application. │ └── ui # Activity/View layer. | └── libraries # Name of directory. ├── core # Name of module. │ ├── bloc # Business logic component. │ ├── di # Dependency injection. │ ├── local # Local data handlers. │ ├── network # Remote data handlers. │ └── repository # Repository data handlers. | ├── dependencies # Name of module (Handle dependency version updates). | └── shared # Name of module. ├── common # Common shared. └── widget # Custom widget which can be used repeatedly.
Dartoften involves having to override the
Pub geton each module sequentially starting from
your root projectto generated
API_KEYinto api_constant.dart file.
coremodule. But before you running that, make sure go to core module first using
cdcommand. For example
cd librariesand then
cd core. Then you can run this command:
flutter packages pub run build_runner build --delete-conflicting-outputs.
flutter run --flavor development --target=lib/launcher/main-dev.dart
flutter run --flavor production --target=lib/launcher/main-prod.dart
flutter drive --target=test_driver/app.dart --flavor development
Don't forget to follow me, fork and give me a ⭐
MIT License Copyright (c)  [R Rifa Fauzi Komara] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.