kmeans_dominant_colors 0.1.3 copy "kmeans_dominant_colors: ^0.1.3" to clipboard
kmeans_dominant_colors: ^0.1.3 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.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:kmeans_dominant_colors_example/color_extraction_page.dart';

void main() {
  runApp(const DominantColorsApp());
}

class DominantColorsApp extends StatelessWidget {
  const DominantColorsApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Dominant Colors Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        useMaterial3: true,
      ),
      home: ColorExtractionPage(),
    );
  }
}
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