use-fllib
Installation
SKILL.md
Use fl_lib
When to use
- Use when the user asks about fl_lib setup, localization, or Paths init.
- Use when requests mention PrefStore, SecureStore, HiveStore, AdaptiveReorderableList, Input, SizedLoading, or fl_lib extensions/utils.
Instructions
- Setup: Follow the fl_lib Setup & Usage section below for dependency, Paths init, and localization wiring.
- Stores: Use the right store for the data type; see the fl_lib Stores section below. Prefer PrefStore for settings, SecureStore for secrets, HiveStore for structured caching.
- Widgets: Prefer fl_lib widgets for common UI patterns; see the fl_lib Widgets section below.
- Utils & extensions: Use provided helpers for IDs, crypto, UI/system, and convenience APIs; see the fl_lib Utils and fl_lib Extensions sections below.
- Library changes: If modifying fl_lib itself, run
./export_all.dartin the fl_lib root.
Requirements
fl_lib usage
- Foundation: Use fl_lib as the common library when it is already part of the project.
- Storage: Use PrefStore for key-value settings and SecureStore for sensitive data; use HiveStore for local structured caching.