a_colors 0.0.2 copy "a_colors: ^0.0.2" to clipboard
a_colors: ^0.0.2 copied to clipboard

A new Flutter package contains 140 colors. By adding this to your Flutter application, you can avoid hardcode colors.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add a_colors

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

dependencies:
  a_colors: ^0.0.2

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:a_colors/a_colors.dart';
22
likes
150
pub points
28%
popularity

Publisher

verified publisherabdosaed.ml

A new Flutter package contains 140 colors. By adding this to your Flutter application, you can avoid hardcode colors.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on a_colors