A Flutter package to extract prominent colors from an Image, typically used to find colors for a user interface.
To use this package, add
palette_generator as a
dependency in your pubspec.yaml file.
Import the library via
Then use the
PaletteGenerator Dart class in your code. To see how this is done,
check out the image_colors example app.
Add this to your package's pubspec.yaml file:
dependencies: palette_generator: ^0.1.0
You can install packages from the command line:
$ flutter packages get
Alternatively, your editor might support
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.1.0||Jul 17, 2018|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Oct 10, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.
Maintain an example.
None of the files in your
example/ directory matches a known example patterns. Common file name patterns include:
example.dart or you could also use