overAndUnderCenterOpacity property Null safety

double overAndUnderCenterOpacity

The opacity value that will be applied to the wheel that appears below and above the magnifier.

The default value is 1.0, which will not change anything.

Must be greater than or equal to 0, and less than or equal to 1.

Implementation

double get overAndUnderCenterOpacity => _overAndUnderCenterOpacity;
void overAndUnderCenterOpacity=(double value)

Implementation

set overAndUnderCenterOpacity(double value) {
  assert(value != null);
  assert(value >= 0 && value <= 1);
  if (value == _overAndUnderCenterOpacity) {
    return;
  }
  _overAndUnderCenterOpacity = value;
  markNeedsPaint();
}