css_colors 1.1.5 copy "css_colors: ^1.1.5" to clipboard
css_colors: ^1.1.5 copied to clipboard

Defines constant dart:ui Color objects for CSS colors (for use in Flutter code).

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add css_colors

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  css_colors: ^1.1.5

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:css_colors/css_colors.dart';
25
likes
140
points
1.36k
downloads

Publisher

verified publisherflutter.dev

Weekly Downloads

Defines constant dart:ui Color objects for CSS colors (for use in Flutter code).

Repository (GitHub)
View/report issues
Contributing

Topics

#color #css #ui

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on css_colors