freezed-patterns

Community

Master Flutter Freezed pattern design.

AuthordimitriRemoiville
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Flutter teams can model immutable view states, events, and domain types using Freezed, reducing boilerplate and ensuring consistent equality.

Core Features & Use Cases

  • Sealed classes for view states and events (e.g., HomeState with idle, loading, ready, error) to enable exhaustive pattern matching.
  • Domain unions and immutable data classes with value equality to represent core business concepts.
  • CopyWith discipline and JSON serialization guidance to maintain safe, replaceable copies of data objects.
  • Practical guidance on when not to use freezed to avoid over-abstracting simple DTOs or entities.

Quick Start

Create a new sealed class with freezed for your feature and run build_runner to generate the 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: freezed-patterns
Download link: https://github.com/dimitriRemoiville/cc-mobile/archive/main.zip#freezed-patterns

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.