Data held in memory disappears when the app closes. To keep it, you save it either on the device or in the cloud. Choosing between the two depends on how much data you have, how structured it is, and whether it needs to be shared across devices or users.
This module starts with local storage. shared_preferences
handles small values such as settings and flags, while SQLite with
sqflite gives you a real database for structured data and CRUD operations.
It then moves to the cloud with Firebase: setting up a project and
signing users in with Firebase Authentication, then storing and syncing
their data with Cloud Firestore.
Watch the lessons in order, then continue on to Animations & Platform Features.
Uses Shared Preferences to store and retrieve small pieces of data, such as user settings, on the device.
Stores structured data in a local SQLite database with sqflite, using raw SQL statements for create, read, update and delete.
Sets up Firebase in a Flutter app and adds sign-up and login with email and password.
Performs create, read, update and delete operations with Cloud Firestore by building a task manager app.