Skip to content

Flutter HTML pub depreciated #1632

@masterboltdev

Description

@masterboltdev

Describe the bug
flutter: html.pub was discontiued in March, 2025. This is a breaking problem. Code will not compile.

To Reproduce
/root/.pub-cache/hosted/pub.dev/agora_rtc_engine-6.5.2/lib/src/impl/platform/web/global_video_view_controller_platform_web.dart:53:8: Error: Undefined name 'platformViewRegistry'.
ui.platformViewRegistry.registerViewFactory(_platformRendererViewType,

Steps to reproduce the behavior:
existing library, current level. compile in flutter for web.

Expected behavior
In flutter, html.pub was depreciated March, 2025. web.pub is the advised replacement.

Screenshots
Image

Desktop (please complete the following information):
Using FlutterFlow to develop. Compiling through their engine.

Smartphone (please complete the following information):
Compiling for web

Additional context
None

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions