简体   繁体   English

dart和flutter构建的内核文件有什么区别?

[英]What's the difference of kernel files built by dart and flutter?

What's the difference of the output from the following two cmds: 以下两个cmd的输出有什么区别:

dart --snapshot=hello.dart.snapshot --snapshot-kind=kernel a.dart arguments-for-training 
flutter build bundle // build/app.dill

Are those kernel outputs the same ? 这些内核输出是否相同?

Flutter uses a modified Dart SDK that contains dart:ui but not dart:html . Flutter使用了经过修改的Dart SDK,其中包含dart:ui而不包含dart:html
The compilation step is the same because Flutter builds upon Dart. 编译步骤相同,因为Flutter建立在Dart之上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM