SharedPreferences in Flutter to Store and Retrieve List of Objects | Loading form Shared Preferences

preview_player
Показать описание
In this video tutorial, We will learn how to implement Shared Preferences in a Flutter app.
In this video, we can see how List of Objects are stored in Shared Preferences and how that List is loaded into the app on reloading/restarting the App.

In previous video the list was maintained only if the App is not closed.

This video is built on the top of my previous video where I have done CRUD Operations on ListView in Flutter | Contact List App | ListView Insert, Update, Delete, Display

Link of the video is:

Link of website for creating model and factory methods:

GitHub Repository for Source Code Reference:

Dependency used:

If you have any doubt, do comment.
If you like this video, hit Like and Subscribe which is free of cost.

Also, you can share this video with others.
This will encourage me to do more videos on whatever topics you want.

@jatinderverma6
Thanks for watching!
Make sure to like + Subscribe For More!

Follow the Jatinder Verma channel on WhatsApp:
Рекомендации по теме
Комментарии
Автор

very nicely explained! Performed a same demo and hopefully it will work with real json api in place of shared preferences!

harshilgandhigoogle
Автор

That was precisely what I needed, thanks😊

qtzwnmn
Автор

Thanks for the tutorial. It really helped me out

gautambedi
Автор

Pls make api call using shared prefrence with provider to show the user data

mohdsaquib
Автор

how do i save form data where i have images and documents using sharedPreferences?
Or we need to use any other package for that?

kzkqqeh
Автор

Material Segmented can we store and retrieve a value for segmented button in gender selection ???

lbycyel