add-error-display
CommunityAdd robust error UI for Flutter widgets.
Authormarcglasberg
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Error states are often manual and inconsistent across widgets. This skill introduces a standardized pattern using context.isFailed() and context.getException() to show clear error messages and provide retry options.
Core Features & Use Cases
- Unified error UI: detect failures per Cubit or operation, display a consistent message, and offer a retry action.
- Per-item or per-operation error handling: supports checking for failures with specific keys, and showing contextual feedback.
- Auto-clearing: errors clear automatically when the operation restarts or when clearException() is called.
Quick Start
Integrate isFailed checks in your widget tree and wire a retry action to your Cubit's load method.
Dependency Matrix
Required Modules
None requiredComponents
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: add-error-display Download link: https://github.com/marcglasberg/bloc_superpowers/archive/main.zip#add-error-display Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.