Small Flutter web app (CanvasKit) for reporting issues to flutter/flutter.
Live demo: https://hunghd.dev/flutter_web_embedding_issue/
Mirror: https://hnvn.github.io/flutter_web_embedding_issue/
- Blank CJK
Textin Android WebView (space reserved, glyphs missing) - Incomplete
RepaintBoundary.toImage()for off-screen widgets ExpandedreportsmaxHeight: 0inside a boundedColumn
Same URL works in Chrome on the device; fails in embedded WebView (; wv) user agent).
flutter pub get
bash scripts/build_web.sh
# output: build/webServe build/web over HTTPS, or push to main to deploy via GitHub Actions (see .github/workflows/deploy-pages.yml).
GitHub Pages (one-time): repo Settings → Pages → Source: GitHub Actions.
- Open the live demo in Chrome on the phone (baseline).
- Open the same URL in any Android WebView shell.
- Compare: scroll behavior, Japanese text, Expanded probe (green vs red), capture preview.
Remote debug: chrome://inspect → select the WebView → Console.
Example (generic WebView app via adb):
adb shell am start -a android.intent.action.VIEW \
-d 'https://hunghd.dev/flutter_web_embedding_issue/'(Use whatever WebView host app you have; the repro URL is all that matters.)
Standalone repo: https://github.com/hnvn/flutter_web_embedding_issue