Pagination, the word itself tells us that we are talking about the numbering of any manuscript in our case data fetched from API. It’s always a best practice while working large data.
Add the following dependencies in
_pubspec.yaml_
.
pubspec.yaml
Project Folder Structure.
folder structure
**main.dart file**
deletes all the content and types the below content. It includes the main method, initial routes, and **BLoC observer **to debug. Next, we will create a beer Repository.#flutter #bloc #api #flutter-app-development #mobile-app-development