| # Palette Generator package |
| |
| [![pub package](https://img.shields.io/pub/v/palette_generator.svg)](https://pub.dartlang.org/packages/palette_generator) |
| |
| A Flutter package to extract prominent colors from an Image, typically used to |
| find colors for a user interface. |
| |
| ## Usage |
| |
| To use this package, add `palette_generator` as a |
| [dependency in your pubspec.yaml file](https://flutter.io/platform-plugins/). |
| |
| ## Example |
| |
| Import the library via |
| |
| ```dart |
| 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/). |