color_extractor 0.0.1
color_extractor: ^0.0.1 copied to clipboard
A Flutter package for extracting dominant colors from images using c with ffi for performance optimisation and multiple image formats support.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add color_extractorWith Flutter:
$ flutter pub add color_extractorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
color_extractor: ^0.0.1Alternatively, 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:color_extractor/color_extractor.dart';