use-fllib

Integrate fl_lib stores, widgets, utils, and localization in Flutter apps.

1|Updated Dec 5, 2025
One-click install
npx skills add https://github.com/lollipopkit/cc-skills --skill use-fllib
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: use-fllib
Source: https://github.com/lollipopkit/cc-skills/tree/main/use-fllib
Command: npx skills add https://github.com/lollipopkit/cc-skills --skill use-fllib

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps Flutter developers use fl_lib across stores, widgets, utils, and extensions, reducing integration complexity by providing a clear, repeatable approach for setup and usage.

Core Features & Use Cases

  • fl_lib Setup & Usage: Guidance on dependency setup, Paths initialization, and localization wiring.
  • Stores: Use PrefStore for settings, SecureStore for secrets, and HiveStore for local caching.
  • Widgets: Use fl_lib widgets for common UI patterns and components.
  • Utils & extensions: Use provided helpers for IDs, crypto, UI/system, and fl_lib extensions.
  • Library changes: If modifying fl_lib itself, run ./export_all.dart in the fl_lib root to update exports.

Quick Start

Install the dependency to your pubspec.yaml pointing to the fl_lib GitHub repository, initialize Paths in your app entry (e.g., await Paths.init()), and configure localization delegates. When modifying fl_lib itself, run ./export_all.dart in the fl_lib root to update exports.

Frequently Asked Questions about use-fllib

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up fl_lib in a Flutter app?

Set up fl_lib by adding the dependency to pubspec.yaml pointing to the GitHub repository, then call await Paths.init() in your app entry point and configure localization delegates. This initializes stores, widgets, utils, and extensions for use throughout your app.

What stores does fl_lib provide and when should I use each?

fl_lib provides PrefStore for app settings, SecureStore for sensitive data like passwords, and HiveStore for local caching. Choose based on data sensitivity and persistence needs: settings go in PrefStore, secrets in SecureStore, and cached data in HiveStore.

How do I use fl_lib widgets in my Flutter UI?

fl_lib widgets like AdaptiveReorderableList, Input, and SizedLoading handle common UI patterns. Import them from fl_lib and use them directly in your widget tree to reduce boilerplate and maintain consistent component behavior across your app.

What should I do after modifying fl_lib itself?

After modifying fl_lib, run ./export_all.dart from the fl_lib root directory to regenerate and update all library exports. This ensures your changes propagate correctly to dependent apps and maintains clean API surfaces.

Can I use fl_lib localization with my existing Flutter localization setup?

Yes, fl_lib localization integrates with Flutter's standard localization framework. Configure localization delegates during app setup to wire fl_lib's localization alongside your existing delegates.

What utilities and extensions does fl_lib include?

fl_lib provides utilities for ID generation, cryptography, UI/system operations, and Flutter extensions. These helpers reduce repetitive code and integrate seamlessly with stores and widgets for cleaner, more maintainable apps.