Skip to content

Latest commit

 

History

History
80 lines (53 loc) · 1.95 KB

README.md

File metadata and controls

80 lines (53 loc) · 1.95 KB

Flutter MVVM with GetX

Welcome to the Flutter MVVM with GetX project! This repository demonstrates how to implement the Model-View-ViewModel (MVVM) architecture in a Flutter application using the GetX package for state management and dependency injection.

Table of Contents

Introduction

MVVM (Model-View-ViewModel) is a design pattern that separates the development of the graphical user interface from the business logic or back-end logic (the data model). This pattern helps in organizing code, making it more modular, maintainable, and testable.

GetX is a powerful Flutter package that simplifies state management, dependency injection, and route management, making it easier to implement the MVVM architecture.

Features

  • Clean and structured code using MVVM architecture
  • State management with GetX
  • Dependency injection with GetX
  • Easy navigation with GetX routing

Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/googlermridul/getx_mvvm.git
    
  2. Navigate to the project directory:

    cd flutter_mvvm_getx
    
  3. Install dependencies:

    flutter pub get
    
  4. Run the app:

    flutter run
    

Project Structure

lib ├── main.dart ├── data │ ├── models │ └── repositories ├── ui │ ├── views │ └── widgets ├── viewmodels └── services

getx mvvm