flutter-bloc-setup

Community

Bootstrap a production-ready Bloc Flutter app

AuthorabdallhMoukdad
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It removes the friction of setting up a consistent Bloc-based Flutter foundation by handling dependency wiring, app-level providers, persistence initialization, and the expected project structure upfront.

Core Features & Use Cases

  • Opinionated Bloc Stack Bootstrapping: Installs a pinned runtime dependency set for flutter_bloc, freezed, bloc_concurrency, and hydrated_bloc plus required generators for deterministic builds.
  • HydratedBloc Persistence That Won’t Crash: Initializes HydratedBloc.storage before runApp using the correct path_provider directory choice for durable persistence.
  • App-Wide State Management Infrastructure: Adds a root MultiRepositoryProvider for data-layer repositories and gates an AppBlocObserver on kDebugMode for transition/error logging during development.
  • Feature-Ready Project Layout: Establishes a clear lib/ folder structure with per-feature bloc/view organization and matching test paths to support downstream skills like flutter-bloc-feature-pattern and flutter-bloc-async-api.

Quick Start

Use flutter-bloc-setup to initialize your Flutter project so Bloc, Freezed, concurrency transformers, and HydratedBloc are correctly wired before writing any feature code.

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: flutter-bloc-setup
Download link: https://github.com/abdallhMoukdad/flutter-bloc-skills/archive/main.zip#flutter-bloc-setup

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

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.