withOpacity method

LegendStyle withOpacity(
  1. double value
)

Replaces LegendStyle.opacity with value.

Implementation

LegendStyle withOpacity(double value) => copyWith(opacity: value);