withAlpha method

Argb withAlpha(
  1. int alpha
)

Implementation

Argb withAlpha(int alpha) => Argb(alpha.clamp(0, 255), r, g, b);