opacity property

  1. @override
double get opacity
override

Implementation

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

Implementation

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