extract_colors_from_image 0.0.1 copy "extract_colors_from_image: ^0.0.1" to clipboard
extract_colors_from_image: ^0.0.1 copied to clipboard

Pick color from image (assets/network/file) and get color hexcodes.

Pick color from image (assets/network/file) and get color hexcodes.

Features #

You can by this package add (asset/network/file) and know the basic colors that make up the image and know the color in the pixels that you want from the image.

Getting started #

First run flutter pub add extract_colors_from_image

Next Import it: import 'package:extract_colors_from_image/extract_colors_from_image.dart';

Finally provide Image either by assets/network/file.

Usage #

Here there are three examples about how to use this package:

To use assete image: AssetImageBG( assetPath: 'images/space.jpg', backgroundColor: Color.fromARGB(255, 243, 229, 245), ),

To use network image: NetworkImageBG( networkpath: 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQEBx9Wr0-Vrvo7-X_EwAXnCxBrBODj3sjPLE_6DZPA&s', backgroundColor: Color.fromARGB(255, 243, 229, 245), ),

To use File image: FileImageBG( backgroundColor: Color.fromARGB(255, 243, 229, 245), ),

2
likes
130
points
34
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.26 - 2025.04.10

Pick color from image (assets/network/file) and get color hexcodes.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

clipboard, flutter, image, image_picker, palette_generator

More

Packages that depend on extract_colors_from_image