Skip to content

Experimental Flutter project with Domain-Driven Design (DDD)

License

Notifications You must be signed in to change notification settings

ymgn-dev/flutter_ddd

 
 

Repository files navigation

flutter_ddd

Notes app sample in Dart / Flutter with DDD.

Screencast

This is an outcome of my attempt to understand Domain-Driven Design and consider how I can introduce it to app development in Flutter. The attempt began when I wondered what directory structure would be better and started to try to figure it out.

DDD may be too much for a small app like this, resulting in unnecessarily bloated code, but should help you more in development of larger apps.

Branches

  • master (current branch)
    • The original example with ChangeNotifier
  • state_notifier
    • A newer example with StateNotifier (w/o Freezed)
      • I tried this to see if it could make things easier, but unfortunately I did not really see benefits from just separating states from notifiers and making the states immutable in this project. It may matter more in other projects.

Related articles

References

Credits

About

Experimental Flutter project with Domain-Driven Design (DDD)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 93.3%
  • Ruby 5.3%
  • Other 1.4%