faint method
Blends the color with pure white to create a solid pastel tint.
factor : 0.0 returns the original color; 1.0 returns pure white.
Result: A non-transparent lighter version of the color.
Implementation
Color faint([double factor = 0.9]) {
final double safeFactor = factor.clamp(0.0, 1.0);
if (safeFactor == 0.0) return this;
final Color blended = Color.lerp(this, Colors.white, safeFactor) ?? this;
// Edge Case: Re-applies original alpha to ensure consistent transparency.
return blended.withValues(alpha: a);
}