withAdditionalAlpha method

Color withAdditionalAlpha (
  1. int alpha
)

Apply alpha in addition to the existing alpha by multiplying them.

Implementation

Color withAdditionalAlpha(int alpha) {
  assert(alpha != null);
  return withAlpha(this.alpha * alpha);
}