main_color 0.0.4 copy "main_color: ^0.0.4" to clipboard
main_color: ^0.0.4 copied to clipboard

This package help you retrieve the main color from a range of color

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add main_color

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  main_color: ^0.0.4

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:main_color/main_color.dart';
4
likes
30
pub points
18%
popularity

Publisher

unverified uploader

This package help you retrieve the main color from a range of color

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, image

More

Packages that depend on main_color