skills/flutter/flutter-isar/SKILL.md
Implement local data persistence with Isar database and offline-first architecture. Use when building cache-first data strategies, reactive queries, schema migrations, or secure local storage with flutter_secure_storage.
npx skillsauth add dhruvanbhalara/skills flutter-isarInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
@collection annotation with Id fielddata/local/ directory of the relevant featuredart run build_runner build --delete-conflicting-outputs after modifying collections@Index annotations for fields queried frequently@enumerated for enum fieldsLinks and Backlinks for relationships between collectionsput, get, delete, watch callswatchLazy() or watch() to stream changes to the UI via BLoCStream<List<DomainModel>>close() methodflutter_secure_storage for sensitive key-value data (tokens, encryption keys)SharedPreferences ONLY for non-sensitive user preferences (theme, locale, onboarding flags)SharedPreferences or plain Isardevelopment
Perform REST API networking operations (GET, POST, PUT, DELETE) using the lightweight and robust standard `http` package, including platform configurations and background parsing models.
development
Configure internationalization and localization support using Flutter's built-in l10n system, App Resource Bundle (ARB) files, and ICU formatting syntax.
development
Create model classes with fromJson/toJson using dart:convert and Dart 3 pattern matching. Use when manually mapping JSON to classes, parsing HTTP responses, or choosing between manual and code-generated serialization.
data-ai
Diagnose and fix Flutter layout constraint violations (RenderFlex overflow, unbounded height/width, ParentData misuse). Use when encountering layout exceptions, yellow-black overflow stripes, or red error screens.