Flutter Tutorial - Shared Preferences - Store & Load Data For Data Persistence

HeyFlutter․com • January 22, 2021
Video Thumbnail
HeyFlutter․com Logo

HeyFlutter․com

View Channel

About

HeyFlutter.com is your one-stop destination for all things related to Flutter! As a leading Flutter Development company, we help businesses around the world to design, develop and successfully scale professional Websites, Mobile Apps, TV Apps and Backend Servers. 🔥🔥 Have a look at our portfolio → https://heyflutter.com/portfolio But that's not all - we're passionate about sharing our expertise, which is why we offer in-depth tutorials and a comprehensive 12 Week Bootcamp dedicated to mastering Flutter development. Whether you're just starting out or already experienced, our channel is here to help you learn and grow with Flutter. Come join us as we explore the exciting world of Flutter, where creativity and skill come together! ⚡⚡ Do you want to become a Flutter expert? Grow from Flutter Newbie until Advanced level → https://heyflutter.com

Video Description

Store & Load Data locally on your phone with Flutter's SharedPreferences plugin to persist data even if your app was closed. Click here to Subscribe to Johannes Milke: https://www.youtube.com/JohannesMilke?sub_confirmation=1 👉 12 Week Flutter Training | https://heyflutter.com 👉 Flutter Masterclass Courses | https://heyflutter.com/masterclass Source Code | https://github.com/JohannesMilke/shared_preferences_simple_example My Courses | https://heyflutter.com Follow Newsletter | https://johannesmilke.com/newsletter SUBSCRIBE HERE http://bit.ly/JohannesMilke SUPPORT & SPONSOR ME https://github.com/sponsors/JohannesMilke RESOURCES SharedPreferences Store & Load JSON Tutorial: https://www.youtube.com/watch?v=-32HIsRf26o Persist Data With Firebase Tutorial: https://www.youtube.com/watch?v=EV2DyrKOqrY Preload Images Into Cache Tutorial: https://www.youtube.com/watch?v=M43XWGV3TE8 Crop & Save Images Tutorial: https://www.youtube.com/watch?v=pXbBTJt7frM Google Sign In Tutorial: https://www.youtube.com/watch?v=ogW83xGQGTg Skeleton Loading Screen Tutorial: https://www.youtube.com/watch?v=Z2kKlM1WfRY Share Texts & Files https://www.youtube.com/watch?v=-PmUFbbA-Fs Riverpod Tutorial: https://www.youtube.com/watch?v=8H3bwxxla4Y QR Code Scanner Tutorial: https://www.youtube.com/watch?v=Z32WsUiOegs TextField Tutorial: https://www.youtube.com/watch?v=C5hJIKCTrvk Form & TextForm Field Tutorial: https://www.youtube.com/watch?v=2rn3XbBijy4 TIMELINE 0:00 Introduction SharedPreferences 1:40 Setup SharedPreferences 2:29 Store String Value 3:20 Load String Value 4:56 Store List Value 6:26 Load List Value 7:44 Store DateTime Value 8:55 Load DateTime Value 9:46 Fix Load DateTime SHARE | SUBSCRIBE | LIKE FOR MORE VIDEOS LIKE THIS ********* SOCIAL MEDIA: Follow Us :-) Twitter | https://twitter.com/HeyFlutter_ Linkedin | https://www.linkedin.com/company/heyflutter LEARN MORE SOURCE CODE | https://github.com/JohannesMilke ARTICLES | https://medium.com/@JohannesMilke PLAYLISTS All Flutter Videos | https://www.youtube.com/watch?v=3f9oqIvxNc0&list=PL1WkZqhlAdC_MPQBXUFwAHviZ3XkWPDBG Widgets - Flutter | https://www.youtube.com/watch?v=1nEmFuX1Cig&list=PL1WkZqhlAdC8enpcvzv_uAS9FmHTDOCJ8 Plugins - Flutter | https://www.youtube.com/watch?v=3f9oqIvxNc0&list=PL1WkZqhlAdC9shbzjQao6cdzqB_Wu7Hr4 Animations - Flutter | https://www.youtube.com/watch?v=RLPZzDOPXG4&list=PL1WkZqhlAdC9pQE4nd9oAJi5eM9YXJeji Designs - Flutter | https://www.youtube.com/watch?v=aLwjk-G2Qik&list=PL1WkZqhlAdC-i3Vs_HBQw9BPT9-_zMSun Firebase - Flutter | https://www.youtube.com/watch?v=IruuzPydPz4&list=PL1WkZqhlAdC9TgTee50FWiiwVZ6kQg4W7 State Management - Flutter | https://www.youtube.com/watch?v=8H3bwxxla4Y&list=PL1WkZqhlAdC-GNyxQbfn8Db9pR6bRcQuw CREDITS Copyright song "Corporate Technology" by scottholmesmusic.com #Flutter #Tutorial #JohannesMilke LIKE & SHARE & ACTIVATE THE BELL Thanks For Watching :-) http://bit.ly/JohannesMilke

You May Also Like

Master Flutter with These Must-Haves

AI-recommended products based on this video

Loading...
Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

(56)
$149.99
FREE delivery Tue, Nov 11
Loading...
Foscomax Wireless CarPlay Adapter, Mini Aluminium CarPlay Adapter for iPhone Supports 800+ Car's with Dongle Converts Wired to Wireless, Auto-Connect, No Delay Receiver, for iOS 10+

Foscomax Wireless CarPlay Adapter, Mini Aluminium CarPlay Adapter for iPhone Supports 800+ Car's with Dongle Converts Wired to Wireless, Auto-Connect, No Delay Receiver, for iOS 10+

(146)
$35.99
FREE delivery Sun, Oct 19
1K+ bought in past month
Loading...
Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

(57)
$139.99
FREE delivery Wed, Sep 24
Loading...
Proof Ball: AI-Powered Fish Measuring Tool – Accurate, Portable, Easy-to-Use Fishing Accessory with Free Fishtechy App for iOS & Android

Proof Ball: AI-Powered Fish Measuring Tool – Accurate, Portable, Easy-to-Use Fishing Accessory with Free Fishtechy App for iOS & Android

(53)
$86.04$80.17
FREE delivery Jun 12 - 13
Loading...
INIU 45W Power Bank, Ultra Small 10000mAh Portable Charger, USB C in&Out Fast Charging Battery Pack, Travel External Phone Powerbank Compatible with iPhone 16 15 Samsung S25 S24 Google Pixel iPad etc

INIU 45W Power Bank, Ultra Small 10000mAh Portable Charger, USB C in&Out Fast Charging Battery Pack, Travel External Phone Powerbank Compatible with iPhone 16 15 Samsung S25 S24 Google Pixel iPad etc

(520)
$41.42
PrimeFREE delivery Sat, Jun 14
500+ bought in past month
Loading...
Deeyaple USB C to Aux, 4FT/1.2M, Type C to 3.5mm Audio Cable Headphone Jack Cable for Car Mobile Phone, iPhone 16 15, iPad Pro, Samsung Galaxy S24 S23 S2010, Google Pixel,Oneplus Grey (1)
Best Seller

Deeyaple USB C to Aux, 4FT/1.2M, Type C to 3.5mm Audio Cable Headphone Jack Cable for Car Mobile Phone, iPhone 16 15, iPad Pro, Samsung Galaxy S24 S23 S2010, Google Pixel,Oneplus Grey (1)

(78)
$6.99
FREE delivery Fri, Sep 5 on your first order
1K+ bought in past month
Loading...
Magnetic Car Mount Air Vent Cell Phone Holder, Universal Vehicle Dash Dashboard Ac Airvent Cellphone Magic Stand with Clip Hook, for iPhone 16 15 Samsung Lenovo Google etc

Magnetic Car Mount Air Vent Cell Phone Holder, Universal Vehicle Dash Dashboard Ac Airvent Cellphone Magic Stand with Clip Hook, for iPhone 16 15 Samsung Lenovo Google etc

(128)
$21.99
FREE delivery Tue, Jun 17 on your first order
Loading...
blurams Security Camera, 2K Indoor Camera 360-degree Pet Camera for Home Security w/ Motion Tracking, Phone App, 2-Way Audio, IR Night Vision, Siren, Works with Alexa & Google Assistant,White

blurams Security Camera, 2K Indoor Camera 360-degree Pet Camera for Home Security w/ Motion Tracking, Phone App, 2-Way Audio, IR Night Vision, Siren, Works with Alexa & Google Assistant,White

(27,818)
$24.74
FREE delivery Wed, Aug 20 on your first order
500+ bought in past month
Loading...
UGREEN USB WiFi Adapter AX900 Entry-Level WiFi 6 Dongle Dual Band for PC Desktop with Antenna 5GHz 600Mbps, 2.4GHz 287Mbps Compatible with Windows 11 10

UGREEN USB WiFi Adapter AX900 Entry-Level WiFi 6 Dongle Dual Band for PC Desktop with Antenna 5GHz 600Mbps, 2.4GHz 287Mbps Compatible with Windows 11 10

(429)
$16.99
50+ bought in past month
Loading...
MeLE Quieter4C Fanless Mini PC 16GB RAM 512GB Storage Micro PC Twin Lake N150(up to 3.6GHz) USB-C 2 X HDMI 4K@60 Triple Display Small Form Factor Desktop Computers with VESA Mount for Home/Office

MeLE Quieter4C Fanless Mini PC 16GB RAM 512GB Storage Micro PC Twin Lake N150(up to 3.6GHz) USB-C 2 X HDMI 4K@60 Triple Display Small Form Factor Desktop Computers with VESA Mount for Home/Office

(83)
$339.99$333.46
PrimeFREE delivery Sat, Jun 14
Loading...
MeLE Overclock X5 Core i5-12450H (8C/12T, up to 4.4GHz) Ultrathin Mini PC 32GB DDR4 1TB SSD, Mini Desktop Computer with 2X HDMI + 2X USB-C 4K Quad Display, Dual LAN 1G+ 2.5G LAN, 2.4/5GHz WiFi BT5.2

MeLE Overclock X5 Core i5-12450H (8C/12T, up to 4.4GHz) Ultrathin Mini PC 32GB DDR4 1TB SSD, Mini Desktop Computer with 2X HDMI + 2X USB-C 4K Quad Display, Dual LAN 1G+ 2.5G LAN, 2.4/5GHz WiFi BT5.2

(111)
$559.00
FREE delivery Wed, Jun 18
Loading...
MeLE Quieter4C N150 Fanless Mini PC (up to 3.6GHz 4C/4T) 16GB LPDDR5 512GB Micro Desktop Computer, Support 4K Triple Display, Dual HDMI, All-in-One USB-C WiFi 5 BT5.1 Ethernet

MeLE Quieter4C N150 Fanless Mini PC (up to 3.6GHz 4C/4T) 16GB LPDDR5 512GB Micro Desktop Computer, Support 4K Triple Display, Dual HDMI, All-in-One USB-C WiFi 5 BT5.1 Ethernet

(170)
$349.99
PrimeFREE delivery Sat, Jun 14
Loading...
MINISFORUM UN100P Mini PC 12th Gen Alder Lake N100(up to 3.4GHz) Desktop Computer, LPDDR5 16GB RAM 512GB SSD, 1x HDMI, 1xDP, 1x USB-C 4K Triple Display, 1x 1000M LAN Port Micro Computer

MINISFORUM UN100P Mini PC 12th Gen Alder Lake N100(up to 3.4GHz) Desktop Computer, LPDDR5 16GB RAM 512GB SSD, 1x HDMI, 1xDP, 1x USB-C 4K Triple Display, 1x 1000M LAN Port Micro Computer

(111)
$279.90
PrimeFREE delivery Mon, Jun 16