contrast_checker 0.0.2
contrast_checker: ^0.0.2 copied to clipboard

This library try to help you about checking the contrast of your text color and your background color.

Contrast Checker #

A flutter package for checking the text color and the background color contrast.

Installation #

Add contrast_checker as a dependency in your pubspec.yaml file.

contrast_checker: any

Android #

No permissions required. Uses application cache directory.

iOS #

No permissions required.

How-to: #

bool isContrast = contrastCheck(18.6, Color(0xFF6E6E6E), Color(0xFFFFFFFF), WCAG.AA);
3
likes
120
pub points
8%
popularity

Publisher

illukinati.com

This library try to help you about checking the contrast of your text color and your background color.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on contrast_checker