image_color_builder 1.0.0 copy "image_color_builder: ^1.0.0" to clipboard
image_color_builder: ^1.0.0 copied to clipboard

outdated

A Flutter package for generating the image and the image's dominant color with a given image url.

Image Color Builder #

pub packageStar on Github

A Flutter package for generating the image and the image's dominant color with a given image url.

Usage #

See examples to /example folder.

ImageColorBuilder(
  url: 'https://picsum.photos/200',
  builder: (BuildContext context, Image image, Color imageColor) {
    return Container(
      padding: const EdgeInsets.all(40),
      decoration: BoxDecoration(
        color: imageColor.withOpacity(0.8),
        borderRadius: const BorderRadius.all(Radius.circular(8)),
      ),
      child: image,
    );
  }
)

Author #

Visit my github: janlionly
Contact with me by email: [email protected]

Contribute #

I would love you to contribute to ImageColorBuilder

License #

ImageColorBuilder is available under the MIT license. See the LICENSE file for more info.

3
likes
0
points
18
downloads

Publisher

verified publisherjanlionly.dev

Weekly Downloads

A Flutter package for generating the image and the image's dominant color with a given image url.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, http, palette_generator

More

Packages that depend on image_color_builder