gdg-toronto / Flutter-Study-Jam-Season-2

This is the Study Jam repo for the GDG Toronto
3 stars 2 forks source link

[APP] cocktail provider sample app #1

Closed corcoran closed 4 years ago

corcoran commented 5 years ago

Work in progress of a sample app showing a list of cocktails using the provider pattern.

https://github.com/gdg-toronto/flutter-cocktail

corcoran commented 5 years ago

Added a (somewhat simple) details page!

corcoran commented 5 years ago

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..

corcoran commented 5 years ago

My OCD got the best of me -- FirebaseProvider added.