onVisibleChanged property

Stream<bool> get onVisibleChanged

An event stream that fires when the overlay's visibility changes.

Implementation

Stream<bool> get onVisibleChanged {
  _onVisibleController ??= StreamController.broadcast(sync: true);
  return _onVisibleController!.stream;
}