kmeans_dominant_colors 0.1.2 copy "kmeans_dominant_colors: ^0.1.2" to clipboard
kmeans_dominant_colors: ^0.1.2 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 Dart:

 $ dart pub add kmeans_dominant_colors

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 dart pub get):

dependencies:
  kmeans_dominant_colors: ^0.1.2

Alternatively, your editor might support dart pub get or 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
0
points
32
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

License

unknown (license)

Dependencies

flutter, image

More

Packages that depend on kmeans_dominant_colors