Use SharedPreferences in a Flutter App to save variable values permanently | BottomAppBar- Ep. 6

preview_player
Показать описание
This video tutorial about, how to save, load, clear variable values in SharedPreferences(not only variable value but any data that is not too long can be stored in device memory easily). So that you can get/use variable values even if you turn of the device. Using a simple Poll App example I have explained how to save and get values using sharedPreferences and also I have shown, how you can use ButtonBar, BottomAppBar Widgets.

Note: If you store any peace of data in device memory using shared preferences those data will not be deleted unless you clear app data in setting or remove application(well, you can delete them if you want easily with code).

Initial code for this video(Previous video code):

link to the previous vedio:

Flutter SDK tutorials Playlist:

source code :
Рекомендации по теме
Комментарии
Автор

thank you so much this video was a lot helpful

corty
Автор

Thank you! I loved the "Oh My God!" when the values didn't persist. Also, this was the only tutorial I could find for having sharedpreferences show up in initState.

SwaglikeOhio
Автор

Done lesson 5!! I´m go in on this one!!!

gonzaloalonzo
Автор

Video is great but your voice isn't clear.

surajjha
visit shbcf.ru