Module 10 of 12

Local Storage & Firebase

Lessons

About This Module

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.

Lessons

4 videos
01

Flutter Tutorial: Storing Data with Shared Preferences (Step-by-Step)

Uses Shared Preferences to store and retrieve small pieces of data, such as user settings, on the device.

02

Flutter Tutorial - SQL Database Storage Using Sqlite & Sqflite CRUD

Stores structured data in a local SQLite database with sqflite, using raw SQL statements for create, read, update and delete.

03

Firebase Email & Password Authentication in Flutter (Updated 2025)

Sets up Firebase in a Flutter app and adds sign-up and login with email and password.

04

Flutter Firebase CRUD Tutorial

Performs create, read, update and delete operations with Cloud Firestore by building a task manager app.