getEffectiveTintColor static method

Color getEffectiveTintColor(
  1. Color color,
  2. double opacity
)

Implementation

static Color getEffectiveTintColor(Color color, double opacity) {
  // Update tintColor's alpha with the combined opacity value
  // If LuminosityOpacity was specified, we don't intervene into users parameters
  return color.withOpacity(opacity);
}