Summary
Keywords
Full Transcript
See how to use Hive as a simple but powerful key-value on device database to store game related info like current level and game outcome for your flutter app built with flame. In addition see how Riverpod can be used to access or update Hive values from anywhere in your app. 🔗 Hive: https://pub.dev/packages/hive 🔗 Hive docs: https://docs.hivedb.dev 🔗 Riverpod docs: https://riverpod.dev/docs/introduction/getting_started 📲 Download The Finished Game: https://lastbottle.app 🎮 Series Playlist: https://youtube.com/playlist?list=PL_D-RntzgLvYIxI_Kuwy1f7HedxTF2GPK&si=yEyLASOci9CKl4sq 😻 Complete Code: https://github.com/davefaliskie/go_green/tree/add_hive 🤑 GET 10% OFF iubenda Privacy Policy: https://iubenda.refr.cc/1manstartup 💬 Join the Discord: https://1manstartup.com/discord 😎 If you enjoy the videos, consider supporting the channel: https://1manstartup.com/donate SECTIONS: 0:00 - Installing Hive 0:51 - Adding Hive Repository 2:55 - Initializing Hive 4:43 - Opening Hive Box 5:17 - Adding Riverpod 8:46 - Updating Hive Values With Riverpod 10:57 - Display Hive Data Using Riverpod 13:21 - Counting Different Game Outcomes 17:48 - Set Current Game Level From Hive #flutter #hive #riverpod
