whichForegroundColor function
Supply a color depending on the provided background color.
Implementation
Color whichForegroundColor(Color backgroundColor, {double bias = 0.0}) =>
useWhiteForeground(backgroundColor, bias: bias)
? Colors.white
: Colors.black;