color_blindness_contrast_checker library

Functions

colorBlindnessAssertContrast(ColorScheme scheme, [double minThreshold = 4.5]) → void
This method simulates color blindness in a ColorScheme and compares primary, secondary against background, surface.