getAlpha function

int getAlpha(
  1. int color
)

Get the alpha channel from the color.

Implementation

int getAlpha(int color) => (color >> 24) & 0xff;