flutter-message-workflow

Community

Define Flutter message strategies with DI.

AuthorZHLX2005
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Flutter message workflow standardizes how new message types are defined and rendered in a Flutter app, enabling scalable and consistent message handling across UI components and interactions.

Core Features & Use Cases

  • Data-driven message types: define IMessageData types with a type field that drives rendering.
  • Pluggable UI strategies: implement MessageWidgetStrategy subclasses to render specific message content, including interactive states.
  • DI-based registration: register strategies in the DI container for O(1) lookup and extensibility.
  • Mock data generation: provide createMockData() for testing and demos.

Quick Start

Create a new XxxMessageData type, implement XxxMessageWidgetStrategy (with internal state if needed), register it in DI, and render it through the message widget factory.

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-message-workflow
Download link: https://github.com/ZHLX2005/fr/archive/main.zip#flutter-message-workflow

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.