colorful 1.0.3
colorful: ^1.0.3 copied to clipboard
Create Hex Colors with the same values for saturation and lightness, and equally distant hue values. ColorPalettes can be generated from preset Palettes, or custumized by supplying the saturation and [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add colorfulThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
colorful: ^1.0.3Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:colorful/colorful.dart';