openwebf-host-embedding-constraints
Fix Flutter layout/constraint issues when embedding WebF (scrollables, unbounded constraints, viewport sizing). Use when the user mentions ListView/ScrollView, “unbounded height”, infinite constraints, RenderBox errors, or embedding WebF in part of the screen.
When & Why to Use This Skill
This Claude skill specializes in diagnosing and resolving complex Flutter layout and constraint conflicts specifically related to WebF embedding. It provides expert guidance on fixing 'unbounded height' errors, infinite constraints, and RenderBox issues to ensure stable and responsive hybrid web-native interfaces.
Use Cases
- Resolving 'Vertical viewport was given unbounded height' errors when placing a WebF widget inside Flutter scrollable containers like ListView or ScrollView.
- Troubleshooting RenderBox layout exceptions and viewport sizing issues during the integration of WebF components into partial-screen layouts.
- Determining the optimal constraint strategy (bounded vs. full-screen) for embedding web content into specific sections of a Flutter application.
- Debugging layout overflows and rendering inconsistencies in Flutter-WebF hybrid applications using specialized documentation and search tools.
| name | openwebf-host-embedding-constraints |
|---|---|
| description | Fix Flutter layout/constraint issues when embedding WebF (scrollables, unbounded constraints, viewport sizing). Use when the user mentions ListView/ScrollView, “unbounded height”, infinite constraints, RenderBox errors, or embedding WebF in part of the screen. |
| allowed-tools | Read, Grep, Glob, Bash, Edit, Write, mcp__openwebf__docs_search, mcp__openwebf__docs_get_section, mcp__openwebf__docs_related |
OpenWebF Host: Embedding & Constraints
Instructions
- Ask for the widget tree snippet that embeds WebF and the exact Flutter error.
- Identify whether WebF is inside a scrollable or an unconstrained parent.
- Recommend the minimal constraint fix (bounded height/width), preferring full-screen embedding when possible.
- Use MCP docs for official embedding guidance and common pitfalls.
More: