Skip to content

[web][tool] Generate a dartpad_plugin_registrant.dart with flutter pub get #106765

@ditman

Description

@ditman

Flutter used to generate a lib/generated_plugin_registrant.dart file on flutter pub get. This was changed to generate the registrant only when compiling/building.

This has become a problem for Dartpad, which relied on the generated_plugin_registrant.dart to be available without doing flutter build.

See relevant issue: dart-archive/dart-services#874

Restore the feature of generating a generated_plugin_registrant.dart file on flutter pub get that is usable by Dartpad (maybe a dartpad_plugin_registrant.dart file somewhere in side .dart_tool or similar?)

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listplatform-webWeb applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions