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

A Flutter package that generates lighter and darker variations of a base color using tone values, making it easy to create consistent color palettes dynamically.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add color_tones

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

dependencies:
  color_tones: ^1.0.0

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:color_tones/color_tones.dart';
9
likes
150
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that generates lighter and darker variations of a base color using tone values, making it easy to create consistent color palettes dynamically.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on color_tones