NOTE: if you are using flutter tool you don't need to install this tool in most cases
Add the following to .prototools
.
[plugins]
dart = "github://KonstantinKai/proto-dart-plugin"
Or
proto plugin add dart github://KonstantinKai/proto-dart-plugin
Dart plugin can be configured with a .prototools
file.
dist-url
(string) - The dist URL to download dart SDK archives.
[tools.dart]
dist-url = "https://storage.googleapis.com/dart-archive/channels/{channel}/release/{version}/sdk/dartsdk-{platform}-{arch}-release.zip" # default
- Dart plugin supports version aliases like
stable
,beta
,latest
- Dart plugin provides only versions for stable and beta channels with Non zero MAJOR part and respects arch and os compatibility.
Dart plugin does not support hooks.
Build the plugin:
cargo build --target wasm32-wasip1