Back to marketplace

Flutter

Flutter BLoC

v0.1.0

LeanCode Flutter BLoC guidance for state management, cubit patterns, and presentation side effects.

developer-toolsflutterblocinternal

README

flutter-bloc

LeanCode Flutter BLoC plugin for Cursor and Claude Code.

Covers LeanCode BLoC/Cubit fundamentals, including flutter_bloc, bloc_presentation, flutter_hooks, and general cubit/state conventions.

Included assets

  • rules/state-management.md — main BLoC/Cubit fundamentals
  • skills/flutter-bloc-usage/SKILL.md — entry point for this plugin
  • skills/flutter-context-watch-instead-of-top-builder/SKILL.md — focused refactor workflow for replacing top-level BlocBuilder with context.watch

Example usage

  • /flutter-bloc-usage — get a short explanation of what this plugin does and which asset to use next

What this plugin is NOT about

Base-class decisions and canonical cubit recipes (QueryCubit, PaginatedQueryCubit, RequestCubit, etc.) live in flutter-cubit-utils.

Related plugins

Skills

Install individual skills through the CLI fallback, or download the raw SKILL.md file.

/flutter-bloc-usage

Flutter Bloc Usage

Download

Explain what the `flutter-bloc` plugin does and how to use it. Use when the user invokes `/flutter-bloc-usage`, asks what this plugin covers, or needs help with Cubit/BLoC state modeling, presentation effects, or the boundary with `flutter-cubit-utils`.

npx skills add leancodepl/ai-plugins --skill flutter-bloc-usage -a cursor

/flutter-context-watch-instead-of-top-builder

Flutter Context Watch Instead Of Top Builder

Download

Refactors Flutter widgets to replace top-level BlocBuilder wrappers with context.watch-based state reads while preserving behavior. Use when the user asks to remove BlocBuilder at page/widget root, use context.watch, or simplify Flutter BLoC widget trees.

npx skills add leancodepl/ai-plugins --skill flutter-context-watch-instead-of-top-builder -a cursor

0 skills selected