给定一个组织如下的飞镖包
/example
|_______/foo
|________________/pubspec.yaml (and stuff)
|________________/main.dart
|_______/baz
|________________/pubspec.yaml (and stuff)
|________________/main.dart
/lib
|_______/foo
|________________/foo.dart
|_______/baz
|________________/baz.dart
/test
|_______/foo
|________________/foo_test.dart
|_______/baz
|________________/baz_test.dart
但是 pub.dev 给了我
0/10 points: Package has an example
> No example found.
See package layout guidelines on how to add an example.
但我没有发现文档对我的案例很有帮助
这让我想到了标题中的问题:
How to correctly organize multiple examples on a dart package
?