multiplyOpacity method

Color multiplyOpacity(
  1. double opacity
)

Implementation

Color multiplyOpacity(double opacity) {
  final originalOpacity = this.opacity;

  return withOpacity(originalOpacity * opacity);
}