effectiveForegroundColor property

Color? effectiveForegroundColor

Computed foreground color with opacity and alpha

Implementation

Color? get effectiveForegroundColor {
  return foregroundColor != null
      ? Colors.withTransparency(
          foregroundColor!,
          opacity: foregroundOpacity,
          alpha: foregroundAlpha,
        )
      : null;
}