maxeema / typicode_photos

And infinite scroll list implementation in Flutter with data from REST API.

Home Page:https://jsonplaceholder.typicode.com/photos?_start=0&_limit=15

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

typicode_photos

The app name is Typicode Photos because it consumes and renders photos from https://jsonplaceholder.typicode.com/photos

Built with Flutter applying SOLID and Clean Architecture.
Used packages: bloc, hive, retrofit, rxdart, flutter_hooks, connectivity_plus, freezed, dartz, and others.

Technical requirements.


App extra feature using connectivity_plus
With the connectivity_plus plugin help app tries to load automatically for the next chunk of the data if we had an error and detected the network availability.

The app supports states

  • when nothing been loaded, and we are trying to load showing progress
  • when nothing been loaded, and we got some network with the message and retry button
  • when we have some data loaded, and we are trying to load more automatically showing progress in the very end of the list view
  • when we have some data loaded, and we got some network error with the message and retry button in the very end of the list view
  • when we have data loaded and reached the end with showing an appropriate message in the very end of the list view

PS: I tried to use the latest infinite_scroll_pagination v3.1.0 package (actual on Mar 6, 2022), but unfortunately, it had one blocking issue amongst others for completing the assignment. Therefore, I decide to implement an appropriate functional by myself.


Best regards,
Max Shemetov

March, 2022

About

And infinite scroll list implementation in Flutter with data from REST API.

https://jsonplaceholder.typicode.com/photos?_start=0&_limit=15


Languages

Language:Dart 99.4%Language:Swift 0.4%Language:Kotlin 0.1%Language:Objective-C 0.0%