dart-lang / dart-lang/pub-dev

Add badges for Wasm and SwiftPM compatibility

Open
#6,785 34 comments 5 reactions 0 assignees View on GitHub
Type: enhancement
Dominant language
Dart
Stars
944
Forks
184
Avg merge
1d 15h
Merged PRs (30d)
12

Description

Flutter web plugins are currently using `dart:html` and `package:js` to wrap JavaScript APIs. The new version of Dart-JavaScript interop will depend on `package:web` and `dart:js_interop`, respectively.

This is a proposal to display a "Wasm compatible" badge if the package imports the correct libraries, and "Wasm incompatible" if it is using the old libraries.

cc: @kevmoo @joshualitt

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.