>dart2native --help
ソースファイルの作成
// bin\main.dart
main(List<String> args) {
print('hello world');
}
俵
>dart2native ./bin\main.dart -o ./hello
λ ./hello
hello world
また、exeファイルのファイルとしてパッケージ化することができます
>dart2native .\bin\main.dart -o ./hello.exe
Generated: d:\ajanuw\dart-test\hello.exe
>hello.exe
hello world