Dart库/包关键字的意思? [英] Dart library / package keyword meaning?
本文介绍了Dart库/包关键字的意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是 Dart库与 Java包完全相同吗?
>完全相同的 Java库(JAR)?
Is Dart package exactly the same Java library (JAR) ?
推荐答案
可以例如部署到pub.dartlang.org。我想这是一个jar文件。
库是一个Dart脚本文件,有或没有名称(或一组Dart脚本文件 part
/
的一部分),并且是隐私的边界。私人成员只能在同一个图书馆内看到或访问。
A package is a set of libraries which can for example be deployed to pub.dartlang.org. I guess this is similar to a jar file.
A library is one Dart script file with or without a name (or a set of Dart script files with part
/part of
) and is the boundary for privacy. Private members are only visible or accessible from within the same library.
这篇关于Dart库/包关键字的意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文