Giter Club home page Giter Club logo

guilherme-v / flutter-clean-architecture-example Goto Github PK

View Code? Open in Web Editor NEW
625.0 14.0 149.0 6.49 MB

A flutter's implementation of a "clean architecture" comparing BLoC, Cubit, GetIt, MobX, Provider, and Riverpod. It includes tests to all libraries and additional features like Material 3 theming, Widget and Unit Tests, Infinite scrolling, Remote API calls, Caching and etc..

Kotlin 0.07% Ruby 0.74% Swift 0.36% Objective-C 0.02% Dart 90.17% HTML 0.97% CMake 4.76% C++ 2.54% C 0.36%
architecture flutter bloc cubit getit mobx provider-flutter riverpod-examples flutter-architecture bloc-architecture

flutter-clean-architecture-example's Introduction

Hi there! I'm Guilherme Silva (Gui) ๐Ÿ‘‹๐Ÿ˜„

Linkedin Badge Gmail Badge Twitter Follow

  • ๐Ÿ“ž I'm a software engineering focused on Mobile Development - almost 15 years working with it ๐Ÿ˜ฌ
  • ๐Ÿ’ฌ But you can ask me about: Clean Architecture, Flutter, Android, iOS, RoR, .NET Core, Phoenix, LiveView...
  • ๐ŸŒฑ Learning more about and studying: Backend development in general and CS Algorithms
  • ๐Ÿ‘จโ€๐Ÿ’ป Iโ€™m currently working full-time remotely @Mana as a Flutter Developer
  • ๐Ÿ“ƒ I blog here: https://medium.com/@valiodas
  • ๐Ÿ“ซ How to reach me: @GuiSilvaV

I've already coded with:

Your Repository's Stats

flutter-clean-architecture-example's People

Contributors

guilherme-v avatar poka-it 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flutter-clean-architecture-example's Issues

using API specifications (url , ...) in data layer violates Dependency Rule?!

Hi.
Thanks for your work I learned a lot from that.
I wonder if we use this 3 layer architecture (Domain-Data-Presentation) as you did, using details from external data sources (such as API Urls, DB table names, DB syntax and etc.) in data layer, doesn't violates Clean Architecture Dependency rule? from Uncle Bob's manifest the last layer contains DB and if we consider that as raw DB and bring DBManager(ORM,...) to inner layer(adapters),It should know about outer details. Should we use Dependency Inversion again?
In your code, API's Url is hard coded in api.dart in data layer and if we consider API as an outer circle component,I think It violates Dependency Rule.
If you want to add DB as a source to this project, How you do that?
Thanks.

Should the get_it example use watch_it?

The author of get_it has overhauled the get_it_mixin package with watch_it.

Hi my friends,

I recently published my new package watch_it https://github.com/escamoteur/watch_it, an overhauled version of the get_it_mixin but with a more intuitive and streamlined API. Porting an existing project using get_it_mixin is really easy and quick.

Should the get_it example be updated to use watch_it?

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.