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.

⭐0stars🔀0forks📁View on GitHub🕐Updated Dec 20, 2025

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.
nameopenwebf-host-embedding-constraints
descriptionFix 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-toolsRead, Grep, Glob, Bash, Edit, Write, mcp__openwebf__docs_search, mcp__openwebf__docs_get_section, mcp__openwebf__docs_related

OpenWebF Host: Embedding & Constraints

Instructions

  1. Ask for the widget tree snippet that embeds WebF and the exact Flutter error.
  2. Identify whether WebF is inside a scrollable or an unconstrained parent.
  3. Recommend the minimal constraint fix (bounded height/width), preferring full-screen embedding when possible.
  4. Use MCP docs for official embedding guidance and common pitfalls.

More: