flutter_kurkle_color_port 0.2.0
flutter_kurkle_color_port: ^0.2.0 copied to clipboard
A native Dart port of @kurkle/color 0.3.2, the color library of Chart.js: parse hex, rgb, hsl, hwb and hsv colors and CSS color names, mix and change colors.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_kurkle_color_portThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_kurkle_color_port: ^0.2.0Alternatively, 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:flutter_kurkle_color_port/flutter_kurkle_color_port.dart';