tint method
Returns a tint of this color by mixing it with white by level% (0–100).
Colors.blue.tint(20) // 20% lighter blue
Implementation
Color tint(int level) {
assert(level >= 0 && level <= 100, 'level must be 0–100');
return mix(const Color(0xFFFFFFFF), level / 100);
}