-
Notifications
You must be signed in to change notification settings - Fork 0
Home
xgqfrms edited this page Jun 18, 2020
·
1 revision
The Dart ecosystem uses packages to share software such as libraries and tools.
https://dart.dev/guides/packages
https://dart.dev/tools/pub/glossary#library-package
library-package
https://dart.dev/guides/libraries/create-library-packages#organizing-a-library-package
pubspec.yaml
file for a library is the same as for an application package—there is no special designation to indicate that the package is a library.
按照约定,实现代码位于lib / src下。 lib / src下的代码被认为是私有的;其他软件包永远不需要导入src / ...