resolvePackedColor method

int resolvePackedColor(
  1. int packedColor
)

Resolves a packed ARGB or Color.ansi integer against this theme.

Implementation

int resolvePackedColor(int packedColor) {
  if (packedColor.isAnsiIndexed) {
    return resolveAnsi256(packedColor.ansiIndex).argb;
  }
  return packedColor;
}