named_html_color 0.0.3+1 named_html_color: ^0.0.3+1 copied to clipboard
Very simple package that defines named colors for HTML, include 140 famous color.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add named_html_color
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
named_html_color: ^0.0.3+1
Alternatively, 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:named_html_color/_colors.dart';
import 'package:named_html_color/html_color.dart';