ui_color 1.20210214.0 copy "ui_color: ^1.20210214.0" to clipboard
ui_color: ^1.20210214.0 copied to clipboard

The color class from dart:ui in a standalone Dart package.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add ui_color

With Flutter:

 $ flutter pub add ui_color

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

dependencies:
  ui_color: ^1.20210214.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:ui_color/ui_color.dart';
1
likes
130
pub points
0%
popularity

Publisher

verified publisherhacker1024.tk

The color class from dart:ui in a standalone Dart package.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

More

Packages that depend on ui_color