GithubHelp home page GithubHelp logo

drysen1 / flutter_design_patterns Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 167 KB

A repository with different examples of design patterns that are possbile in Flutter and Dart.

Kotlin 2.09% Swift 6.31% Objective-C 0.59% Dart 67.22% HTML 23.78%

flutter_design_patterns's Introduction

Flutter_Design_Patterns

This is a repository to showcase different design patterns that are possible while using Flutter and Dart. Flutter and Dart is very versitile on how we can structure our projects and what type of design patterns we can implement. The examples in this repository is barebone and basic just to be able to quickly showcase how one could implement these different design patterns.

Currently there are four examples in this repository.

Current design patterns:

  • Set State
  • MVP (Model View Presenter)
  • MVVM (Model View Viewmodel) using sinks and streams
  • BLoC (Business Logic Component) using functions.

Planned design patterns:

  • MVVM with provider
  • BLoC with streams

Description

All examples have the same layout as can be seen in the screenshot below. All examples will react on text changed and on button press to display the text value that is in the textfield. This will be handled differently depending on the design pattern of course as is the purpose of this repository.

alt text

Getting Started

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.

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.