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);