wordsOn static method
Black or white words, whichever reads better on fill.
Implementation
static Color wordsOn(Color fill) =>
studioContrast(fill, const Color(0xFF000000)) >=
studioContrast(fill, const Color(0xFFFFFFFF))
? const Color(0xFF1A1206)
: const Color(0xFFFFFFFF);