/stacked_state_mamagement

This project base on stacked state management.

Primary LanguageDart

Flutter sample code base.

A project based on Stacked State Management architecture.

Introduction

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:

  1. Programming Language: Flutter - Dart.
  2. Architecture: MVVM architecture based on Stacked State Management Architecture. For more resources on learning Flutter development, visit the Developer Guides at flutter.dev.
  3. Flutter Components: ....
  4. Multiple Threads: [Future][].
  5. Third Party Libraries: Stacked State Management, Get It, Vexana, Dio, Fimber, etc,...
  6. Unit Test: ...
  7. ScreenShots

Moreover, you can read more detail about some project components by clicking to links contained at References part.

Implementation

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.

  1. Flutter version 2.8.1 is used for this project:
fvm use 2.8.1
  1. FVM setup for the Android Studio:

  1. 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",
}

Libraries Used

Screenshots

  1. Coverage Overview.

Coverage Overview

  1. Unit Test Detail for a ViewModel.

Unit Test Detail for ViewModel

  1. Unit Test Detail for a Repository

Unit Test Detail for Repository

References

License

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.