Skip to content

[BUG] Error: Undefined name 'platformViewRegistry' for Web Build #770

@dgurudot

Description

@dgurudot

flutter build web
Target dart2js failed: ProcessException: Process exited abnormally with exit code 1:
../../.pub-cache/hosted/pub.dev/qr_code_scanner-1.0.1/lib/src/web/flutter_qr_web.dart:88:8:
Error: Undefined name 'platformViewRegistry'.
ui.platformViewRegistry
^^^^^^^^^^^^^^^^^^^^

vw@Mac ~ % flutter --version
Flutter 3.32.4 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 6fba2447e9 (7 weeks ago) • 2025-06-12 19:03:56 -0700
Engine • revision 8cd19e509d (7 weeks ago) • 2025-06-12 16:30:12 -0700
Tools • Dart 3.8.1 • DevTools 2.45.1
vw@Mac ~ %

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions