flutter_d3_color_port 0.1.2
flutter_d3_color_port: ^0.1.2 copied to clipboard
A native Dart port of d3-color 3.1.0: CSS color parsing and the RGB, HSL, CIELAB, HCL and Cubehelix color spaces of D3, with Flutter Color conversions.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_d3_color_portThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_d3_color_port: ^0.1.2Alternatively, 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_d3_color_port/flutter_d3_color_port.dart';