opacity property

  1. @override
double get opacity
inherited

Implementation

@override
double get opacity => paint.color.opacity;
  1. @override
set opacity (double value)
inherited

Implementation

@override
set opacity(double value) {
  paint.color = paint.color.withOpacity(value);
  for (final paint in _paints.values) {
    paint.color = paint.color.withOpacity(value);
  }
}