flutter-db
Installation
SKILL.md
Database Architecture Guide (Flutter)
Goal
Implement robust, scalable, and secure local persistence strategies for Flutter applications. This skill ensures developers choose the optimal storage engine—balancing simple key-value settings, encrypted sensitive data, high-performance NoSQL object stores, and complex relational databases.
Process
🚀 High-Level Workflow
Selecting the right persistence layer depends on data sensitivity, complexity, and relationship depth.
Phase 1: Key-Value Persistence (Simple & Secure)
Use lightweight stores for settings and sensitive credentials.
- Shared Preferences Guide - Non-sensitive settings and flags using static wrappers.
- Secure Storage Guide - Encrypted storage for tokens and passwords.
Phase 2: High-Performance Object Storage (NoSQL)
For local-first apps requiring fast read/write of large datasets without complex relations.
- Hive CE (Synchronous NoSQL) - Blazing fast object store for local caching and offline data.