withAlpha method

PaletteEntry withAlpha(
  1. int alpha
)

Implementation

PaletteEntry withAlpha(int alpha) {
  return PaletteEntry(color.withAlpha(alpha));
}