lighten static method
Lighten color toward white in HSL space by amount (0..1).
Implementation
static Color lighten(Color color, [double amount = 0.18]) {
final hsl = HSLColor.fromColor(color);
return hsl.withLightness((hsl.lightness + amount).clamp(0.0, 1.0)).toColor();
}