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

Publié le: 30 mars 2018
sur la chaîne: SL Coder Ego with Coding (SL Programmer)
5,504
47

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):
https://gist.github.com/Blasanka/42a1...

link to the previous vedio:
   • Change Text using button press Flutter and...  

Flutter SDK tutorials Playlist:
   • Getting Started with Flutter SDK- Introduc...  

source code :
http://slcoderlk.blogspot.com/2018/03...


Sur cette page du site, vous pouvez voir la vidéo en ligne Use SharedPreferences in a Flutter App to save variable values permanently | BottomAppBar- Ep. 6 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur SL Coder Ego with Coding (SL Programmer) 30 mars 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 5,504 fois et il a aimé 47 téléspectateurs. Bon visionnage!