Skip to content

ChauCM/image-gallary

Repository files navigation

image_gallary

demo web, app-release.apk in folder

Main features:

  • View random images from pexels.com
  • pull to refresh (at least one new image every hour).
  • Infinite scroll, load more as you go
  • log-in log-out private usage and sync data.
  • save images to the real-time database
  • zoom

Room to improve:

  • Add testing
  • Implement Hydrate User Cubit to save user session
  • Better web view

Firebase Firestore: image

Project: image

FolderStructure simmilar to https://codewithandrea.com/articles/flutter-project-structure/ with modification

‣ lib
  ‣ src
    ‣ features
      ‣ feature1
        ‣ views 
          ‣ page 
          ‣ widget
        ‣ blocs 
          ‣ bloc 
          ‣ cubit
        ‣ domain
          ‣ dto # Data Transfer Object, class that match with api call response, must have toJson and fromJson
          ‣ repository # one per source, to call api, get data
        ‣ Models
          ‣ dpo # Data display object, object that use in blocs and views, often get convert from dto
      ‣ feature2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published