Skip to content

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

Notifications You must be signed in to change notification settings

Drysen1/Flutter_Design_Patterns

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published