isShowing property

bool isShowing

Whether the associated OverlayPortal should build and show its overlay child, using its overlayChildBuilder.

Implementation

bool get isShowing {
  final _OverlayPortalState? state = _attachTarget;
  return state != null
    ? state._zOrderIndex != null
    : _zOrderIndex != null;
}