'Create Library Packages' page - document that library directives should be unique #1181
Labels
e0-minutes
Can complete in < 60 minutes of normal, not dedicated, work
p2-medium
Necessary but not urgent concern. Resolve when possible.
Page URL: https://www.dartlang.org/guides/libraries/create-library-packages
Page source: https://github.com/dart-lang/site-www/tree/master/src/_guides/libraries/create-library-packages.md
Until we get dart-lang/dartdoc#1082 resolved there is still a need for many libraries to have a library directive.
In Dart you can't import two libraries with the same name - so we should call out that if you're using a library directive in a package you distribute the library directive should always be unique - like
package_name.something
rather thansomething
.The text was updated successfully, but these errors were encountered: