flutter-core:flutter-persistence
CommunityRobust local data persistence for Flutter apps.
System Documentation
What problem does it solve?
This skill provides a structured blueprint for implementing multi-layer local data persistence in Flutter, enabling apps to operate reliably offline and cache data efficiently.
Core Features & Use Cases
- Supports key-value storage with SharedPreferences and Hive for fast, lightweight settings and state.
- Supports relational storage with SQLite (via sqflite) and Drift for complex data models and migrations.
- Supports file storage via path_provider for large or binary assets, enabling offline archives and document management.
- Includes offline-first patterns, data caching strategies, and migration guidance across platforms (mobile, desktop, web).
Quick Start
Create a Flutter project and add the persistence dependencies (SharedPreferences, Hive, path_provider, sqflite, drift). Initialize Hive in your app startup and open a box for settings. Implement a tiny repository to save a sample setting in SharedPreferences, then extend to Hive for caching and Drift for relational data, and persist a sample file with path_provider.
Dependency Matrix
Required Modules
None requiredComponents
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: flutter-core:flutter-persistence Download link: https://github.com/aaronbassett/aaronbassett-marketplace/archive/main.zip#flutter-core-flutter-persistence Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.