opaque property Null safety

bool opaque

Whether this entry occludes the entire overlay.

If an entry claims to be opaque, then, for efficiency, the overlay will skip building entries below that entry unless they have maintainState set.

Implementation

bool get opaque => _opaque;
void opaque=(bool value)

Implementation

set opaque(bool value) {
  assert(!_disposedByOwner);
  if (_opaque == value) {
    return;
  }
  _opaque = value;
  _overlay?._didChangeEntryOpacity();
}