random_cat 1.0.0+1 copy "random_cat: ^1.0.0+1" to clipboard
random_cat: ^1.0.0+1 copied to clipboard

A new Flutter project.

Random Cat Generator Using Clean Architecture #

foo

Objective #

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).

Structure #

  • One screen.
  • One button.
  • One placeholder for cat images.

Workflow #

  • 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.

References #

Clean architecture by Uncle Bob.

Youtube tutorials by Reso Coder.

0
likes
15
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter project.

License

BSD-3-Clause (license)

Dependencies

bloc, cupertino_icons, dartz, data_connection_checker, flutter, flutter_bloc, get_it, http

More

Packages that depend on random_cat