Giter Site home page Giter Site logo

flutter-mvvm's Introduction

Flutter MVVM Architecture

Screenshot

Model–View–ViewModel (MVVM) is a very established architectural pattern when it's come to software development. Here I have tried to put MVVM in simple example which will help you to implement in any project.

Please find complete article on Medium Link

Screenshot

Don't forget to star⭐ and contribute if you want.

Output

Screenshot

Requirements

  • Any Operating System (ie. MacOS X, Linux, Windows)
  • Any IDE with Flutter SDK installed (ie. Android Studio, VSCode etc)
  • A little knowledge of Dart and Flutter

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

flutter-mvvm's People

Contributors

jitsm555 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

flutter-mvvm's Issues

provider lib error

deprecated methods

change the following lines in provider.dart to correct this issue.

222 ? context.dependOnInheritedWidgetOfExactType<InheritedProvider>() as InheritedProvider
223 : context.getElementForInheritedWidgetOfExactType<InheritedProvider>().widget as InheritedProvider;

play_widget.dart

hi

after upgrade audioplayers to 0.19.0

below both of not defined error shown

_audioPlayer.startHeadlessService();
_audioPlayer.setNotification

The method 'startHeadlessService' isn't defined for the class 'AudioPlayer'.
  • 'AudioPlayer' is from 'package:audioplayers/src/audioplayer.dart' ('/home/ykwings/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.19.0/lib/src/audioplayer.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'startHeadlessService'.
    _audioPlayer.startHeadlessService();

didnt use gitignore

use the flutter gitignore file to decrease the size of uploading codes. build folder must not push in git

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.