getAlpha method

int getAlpha({
  1. Object? paintId,
})
inherited

Returns the current opacity.

Implementation

int getAlpha({T? paintId}) {
  return getPaint(paintId).color.alpha;
}