color_thief_flutter library

Functions

getColorFromImage(Image image, [int quality = 10]) Future
returns the base color from the largest cluster, represented as R,G,B [...]
getColorFromUrl(String url, [int quality]) Future
returns the base color from the largest cluster, represented as R,G,B [...]
getImageFromProvider(ImageProvider imageProvider) Future<Image>
returns the real Image of ImageProvider [...]
getImageFromUrl(String url) Future<Image>
returns the Image from url [...]
getPaletteFromImage(Image image, [int colorCount, int quality]) Future
returns a list that contains the reduced color palette, represented as [R,G,B] [...]
getPaletteFromUrl(String url, [int colorCount, int quality]) Future
returns a list that contains the reduced color palette, represented as [R,G,B] [...]