meets static method
Whether foreground on background reaches minimum (default
minText).
Implementation
static bool meets(
Color foreground,
Color background, {
double minimum = minText,
}) => ratio(foreground, background) >= minimum;
Whether foreground on background reaches minimum (default
minText).
static bool meets(
Color foreground,
Color background, {
double minimum = minText,
}) => ratio(foreground, background) >= minimum;