Flutter Offline caching

After call rest api, you need to cache it on local for offline use. Deal with persist data: https://flutter.dev/docs/cookbook/persistence/sqlite Work with cached images: https://flutter.dev/docs/cookbook/images/cached-images State management with BLoC: https://www.nhancv.com/2019/10/flutter-state-management-with-bloc.html Let’s begin! About caching…

Heroku deal with env

Ref: https://medium.com/@ysteven.chen2/how-to-deploy-your-react-app-on-heroku-and-create-your-environment-variables-8bc8e2ca7f78 Using cli heroku config:set TOKEN=token123 Using web ui: Go to project dashboard -> Settings: https://dashboard.heroku.com/apps/ntradebot/settings Config Vars -> Reveal Config Vars Add variables