mixChannel method
Implementation
Color mixChannel(Color other, double proportion) {
double mixChannel(double lower, double upper) => (lower + ((upper - lower) * proportion));
return Color.from(
alpha: mixChannel(a, other.a),
red: mixChannel(r, other.r),
green: mixChannel(g, other.g),
blue: mixChannel(b, other.b),
);
}