darker method

Color darker(
  1. num amount
)

Implementation

Color darker(num amount) {
  var newRgba = Color._createNewTintShadeFromRgba(rgba, -amount);
  return Color.hex(newRgba.toHexArgbString());
}