makeDarker method

Color makeDarker([
  1. double percent = .5
])

Darkens the color by blending it with black

TheColor: Color percent: Blending percentage

Returns the blended color

Implementation

Color makeDarker([double percent = .5]) => mergeWith(Colors.black, percent);