Skip to content

Commit

Permalink
Moving image_colors to example
Browse files Browse the repository at this point in the history
  • Loading branch information
gspencergoog committed Aug 21, 2018
1 parent 0ef4b64 commit 5a2ebf0
Show file tree
Hide file tree
Showing 63 changed files with 9 additions and 11 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Contributing to Flutter
=======================

[![Build Status](https://travis-ci.org/flutter/packages.svg)](https://travis-ci.org/flutter/packages)
[![Build Status](https://api.cirrus-ci.com/github/flutter/packages.svg)](https://cirrus-ci.com/github/flutter/packages)

_See also: [Flutter's code of conduct](https://flutter.io/design-principles/#code-of-conduct)_

Expand Down Expand Up @@ -37,7 +37,7 @@ example's directory, run `flutter packages get` to make sure its dependencies ha
downloaded, and use `flutter run`. Make sure you have a device connected over
USB and debugging enabled on that device. For example:

* `cd packages/palette_generator/example/image_colors`
* `cd packages/palette_generator/example`
* `flutter packages get`
* `flutter run`

Expand Down
2 changes: 1 addition & 1 deletion packages/palette_generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ import 'package:palette_generator/palette_generator.dart';
```

Then use the `PaletteGenerator` Dart class in your code. To see how this is done,
check out the [image_colors example app](example/image_colors/README.md).
check out the [image_colors example app](example/README.md).
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
flutter:
sdk: flutter
palette_generator:
path: ../..
path: ..
cupertino_icons: ^0.1.2

dev_dependencies:
Expand Down
11 changes: 4 additions & 7 deletions packages/palette_generator/palette_generator.iml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,10 @@
<excludeFolder url="file://$MODULE_DIR$/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/.pub" />
<excludeFolder url="file://$MODULE_DIR$/build" />
<excludeFolder url="file://$MODULE_DIR$/example/image_colors/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/example/image_colors/.pub" />
<excludeFolder url="file://$MODULE_DIR$/example/image_colors/android/app/src/main/java/io/flutter/packages" />
<excludeFolder url="file://$MODULE_DIR$/example/image_colors/build" />
<excludeFolder url="file://$MODULE_DIR$/example/image_test/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/example/image_test/.pub" />
<excludeFolder url="file://$MODULE_DIR$/example/image_test/build" />
<excludeFolder url="file://$MODULE_DIR$/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/example/android/app/src/main/java/io/flutter/packages" />
<excludeFolder url="file://$MODULE_DIR$/example/build" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ void main() async {
// cache for the other tests, but they timeout if they too are testWidgets
// tests.
tester.pumpWidget(const Placeholder());
return new Future<void>.value();
});

test('PaletteGenerator works on 1-pixel wide blue image', () async {
Expand Down

0 comments on commit 5a2ebf0

Please sign in to comment.