colors_parser 1.0.2 copy "colors_parser: ^1.0.2" to clipboard
colors_parser: ^1.0.2 copied to clipboard

A Material Colors parsing library. Parse MaterialColor and MaterialAccentColor values with an optional indexed shade as well as black and white variants and even hex values.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add colors_parser

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

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

Publisher

verified publisherjncsol.com

A Material Colors parsing library. Parse MaterialColor and MaterialAccentColor values with an optional indexed shade as well as black and white variants and even hex values.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on colors_parser