uni_color_name 0.5.0 uni_color_name: ^0.5.0 copied to clipboard
Identifies the value of a color by name and vice versa. Knows over 900 color names. The easy-to-use and well-tested library.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add uni_color_name
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
uni_color_name: ^0.5.0
Alternatively, 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:uni_color_name/uni_color_name.dart';