This very basic Dart/Flutter project demonstrates the use of clean architecture to build a full stack application.
Users can use this application as a reference to strengthen their skills around designing apps with a clean architecture and wirting code using the SOLID design principles.
The code is mainly Dart (core business logic) with bits of Flutter (which you can swap with a UI library of your choice).
- One screen.
- One button.
- One placeholder for cat images.
- App launches.
- User presses the button.
- A call is made to the random cats API.
- A loading indicator is shown while the call is performed.
- A cat picture is displayed in the screen when the response is successful.
- If no connection we show an error message.
Clean architecture by Uncle Bob.
Youtube tutorials by Reso Coder.