A project based on Stacked State Management architecture.
This project is a sample code base that implements the MVVM architecture and uses Flutter Stacked State Management Architecture.
Technical Information used in this project:
- Programming Language: Flutter - Dart.
- Architecture: MVVM architecture based on Stacked State Management Architecture. For more resources on learning Flutter development, visit the Developer Guides at flutter.dev.
- Flutter Components: ....
- Multiple Threads: [Future][].
- Third Party Libraries: Stacked State Management, Get It, Vexana, Dio, Fimber, etc,...
- Unit Test: ...
- ScreenShots
Moreover, you can read more detail about some project components by clicking to links contained at References part.
Flutter version management is a big trouble that any Flutter developers have to face in their development process. So, in this project, I have used the FVM(Flutter Version Management) package to manage it easily, rapidly, and conveniently.
To install this app, you can see at FVM official page. Here, I only show you some steps to run this sample.
- Flutter version 2.8.1 is used for this project:
fvm use 2.8.1
- FVM setup for the Android Studio:
- FVM setup for the VSCode: Create a settings.json file on ~/.vscode folder and paste content below:
{
"dart.flutterSdkPath": ".fvm/flutter_sdk",
// Remove .fvm files from search
"search.exclude": {
"**/.fvm": true
},
// Remove from file watching
"files.watcherExclude": {
"**/.fvm": true
},
"terminal.integrated.fontFamily": "MesloLGS NF",
}
- Third party
- Stacked State Management for Flutter state management.
- Fimber for logging.
- Get It, Injectable for Dependency Injection.
- Vexana, Dio for Networking.
- Easy Localization for multiple language supporting.
- Hive, Path Provider for persistance data saving.
- Build Runner for code generating.
- And a few other libraries ....
- Coverage Overview.
- Unit Test Detail for a ViewModel.
- Unit Test Detail for a Repository
- New Setup for Flutter Stacked State Management.
- Flutter StateManagement with Stacked - Deep Dive tutorial.
- Bottom Navigation with Stacked Architecture.
- Handle Users profile in Flutter.
- How to Unit Test in Flutter.
- Flutter 1.17 — no more Flavors, no more iOS Schemas. Command argument that changes everything.
- Setup development environments(Develop/Staging/Production) for the Flutter Project.
Copyright 2021 DanhDue ExOICTIF, danhdue@gmail.com
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.