uni_color_name 0.7.0 uni_color_name: ^0.7.0 copied to clipboard
Identifies the value of a color by name and vice versa. Knows over 1000 color names. The easy-to-use and well-tested library for fuzzy search.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add uni_color_name
With Flutter:
$ flutter 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.7.0
Alternatively, your editor might support dart pub get
or flutter 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';