tint method

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

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

Implementation

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