Closed corcoran closed 4 years ago
Added a (somewhat simple) details page!
I've added persistence into the app with examples using both sqlite (sqflite)
and sharedPreferences
.
All you would do to add your own cache backend is to implement the methods in CacheProvider into a new provider of your own.
Here's how it's done in SharedPrefsProvider.
I'm considering adding a third backend for Firestore..
My OCD got the best of me -- FirebaseProvider added.
Work in progress of a sample app showing a list of cocktails using the provider pattern.
https://github.com/gdg-toronto/flutter-cocktail