Skip to main content

go-router-modular-events

星标16
分支2
更新时间2026年7月1日 12:53

Conventions for the event system of the go_router_modular Flutter package — decoupled cross-module communication via EventModule, ModularEvent, and ModularEventMixin. Use this whenever you need modules or widgets to react to something without a direct reference (e.g. "show a snackbar from another module", "notify the cart when an order is placed", "broadcast a login event", emit/listen events, fire/on, EventModule listeners). It is an optional add-on to the go-router-modular skill and assumes its conventions.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
2 个文件
SKILL.md
readonly