Color shadeColor(Color color, double factor) => Color.fromRGBO( shadeValue(color.red, factor), shadeValue(color.green, factor), shadeValue(color.blue, factor), 1);