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 Aug 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.
Package is pre-v1 release.
While there is nothing inherently wrong with versions of
0.*.*, it usually means that the author is still experimenting with the general direction of the API.
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
|Dart SDK||>=2.0.0-dev.61.0 <3.0.0|