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 Flutte...
Flutter SDK tutorials Playlist:
• Getting Started with Flutter SDK- Int...
source code :
http://slcoderlk.blogspot.com/2018/03...
Смотрите видео Use SharedPreferences in a Flutter App to save variable values permanently | BottomAppBar- Ep. 6 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь SL Coder Ego with Coding (SL Programmer) 30 Март 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5,473 раз и оно понравилось 47 людям.