This is a sample project using Clean Architecture & Bloc.
- I have used the jokes API and displayed it on Home Screen.
- Every minute takes a joke from an open API (https://geek-jokes.sameerkumar.website/api?format=json)
- Adding it (the joke) at the end of the list
- Maximum of 10 jokes on the list
- The new jokes replace old ones
- When you open the app again, all old jokes should be displayed (for storing I have used Shared Preference here because I want to show only 10 jokes at a time. Otherwise for large set of data we should go with local Database storage)
This project is a starting point for a Flutter application.
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.