kmeans_dominant_colors 0.1.7 copy "kmeans_dominant_colors: ^0.1.7" to clipboard
kmeans_dominant_colors: ^0.1.7 copied to clipboard

A Flutter package to extract dominant colors from images using K-means clustering algorithm. Perfect for generating color palettes, theme suggestions, and image analysis.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add kmeans_dominant_colors

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  kmeans_dominant_colors: ^0.1.7

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:kmeans_dominant_colors/kmeans_dominant_colors.dart';
5
likes
150
points
19
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package to extract dominant colors from images using K-means clustering algorithm. Perfect for generating color palettes, theme suggestions, and image analysis.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, image

More

Packages that depend on kmeans_dominant_colors