withOpacity abstract method

Gradient withOpacity(
  1. double opacity
)
inherited

Returns a new Gradient with each color set to the given opacity.

Implementation

Gradient withOpacity(double opacity);