shade method

Color shade([
  1. int amount = 10
])

Mix the color with pure black, from 0 to 100. Providing 0 will do nothing, providing 100 will always return black.

Implementation

Color shade([int amount = 10]) => mix(input: const Color.fromRGBO(0, 0, 0, 1.0));