Home Automation in Flutter - Ep.10: Store Device Data in Shared Preferences

Опубликовано: 02 Ноябрь 2024
на канале: Roman Just Codes
479
22

This is a series of videos in which I built a Home Automation System for my home using Flutter by sending commands to connected start plugs and devices installed around the house.

In this episode (Episode #9) I'll continue building our Flicky Home Automation app, this time I'll be working on storing the device data in a more permanent way so the changes reflect across sessions (i.e. when dismissing the app and restarting it), using a simple approach using SharedPrefs (no preference whatsoever on why I picked this ;) ). You can use Hive or any other approach that suits your needs.

Video Series - https://tinyurl.com/flicky-app-yt
Repo - https://tinyurl.com/flicky-app-repo

#flutter #dart #multiplatform #iot #smarthome #smartdevices #embedded #sharedpreferences