MichaelFenwick / Color

A simple Dart package exposing a Color class which can be used to create, convert, and compare colors.
http://pub.dartlang.org/packages/color
MIT License
52 stars 18 forks source link

renamed files so examples can show up on the pub site #17

Closed bcko closed 6 years ago

bcko commented 6 years ago

The pub site can show example code for a package. https://www.dartlang.org/tools/pub/package-layout#examples

when example files are named as below

      'example/lib/main.dart',
      'example/main.dart',
      'example/lib/$package.dart',
      'example/$package.dart',
      'example/lib/${package}_example.dart',
      'example/${package}_example.dart',
      'example/lib/example.dart',
      'example/example.dart',

related issue : dart-lang/site-www#413