bloc-state-management

Official

Bloc/Cubit state management guidance for Flutter.

AuthorRIMTHAN-LAB
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps Flutter developers implement robust state management using Bloc/Cubit, separating business logic, managing events and states, and testing patterns.

Core Features & Use Cases

  • Event-driven Architecture: Define events and states to drive UI through streams.
  • Cubit for Simple State: Lightweight pattern for straightforward state needs.
  • Testing & Quality: Provide tests using bloc_test and mocktail.
  • Migration & Best Practices: Guidance for upgrading Bloc versions and maintainable architecture.

Quick Start

Create a sample Todo feature using Bloc: define TodoEvent, TodoState, and TodoBloc; wire bloc into a UI and add unit tests. Then run flutter test to verify behavior.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: bloc-state-management
Download link: https://github.com/RIMTHAN-LAB/rimthan-plugins/archive/main.zip#bloc-state-management

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository