madsys11 / flutter_mvvm_boilerplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flutter_mvvm_boilerplate

This project is a sample for flutter MVVM pattern.

Features


Introduction

  • The get_it plugin was used with the provider pattern base.
  • The dependency between VEIW and VEIWMODEL is N:1 relationship.
  • Contains login samples using REST API for state management. Simulator Screen Shot - iPhone 12 Pro Max

Architecture

architecture


Getting Started

  1. Clone this repository
    git clone https://github.com/madsys11/flutter_mvvm_boilerplate.git
  1. Rename folder flutter_mvm_boilerplate to your project name.
  2. You can use the rename plugin to change projectName and packageName.
    flutter pub global activate rename
    flutter pub global run rename --appname "projectName"
    flutter pub global run rename --bundleId com.xxx.packageName
  1. Open the project. (e.g., vscode)
  2. Use the command+shift+h(on mac) command to replace all flutter_mvvm_boilerplate to projectName.
  3. Get packages in a Flutter project.
    flutter pub get

About

License:Apache License 2.0


Languages

Language:Dart 83.9%Language:HTML 10.6%Language:Ruby 3.8%Language:Swift 1.1%Language:Kotlin 0.4%Language:Objective-C 0.1%