Standards for predictable state management using flutter_bloc, freezed, and equatable.
Predictable state management separating business logic from UI using bloc, freezed, or equatable.
presentation/blocs/
├── auth/
│ ├── auth_bloc.dart
│ ├── auth_event.dart # (@freezed or Equatable)
│ └── auth_state.dart # (@freezed or Equatable)
@freezed (Priority). Use Equatable if the library is present in pubspec.yaml.
copyWith.equatable is the only comparison library in pubspec.yaml.Status objects.Failure objects; avoid throwing exceptions.emit.forEach or emit.onEach for streams.transformer (restartable, droppable) for event debouncing.blocTest for state transition verification.@injectable (Factory).emit() inside Future.then; always use await or emit.forEach.BlocBuilder.For full BLoC/Cubit implementations and concurrency patterns: See references/REFERENCE.md.
feature-based-clean-architecture | dependency-injection
npx skills add ngxtm/Flutter BLoC State Management下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer