createOverlayRefSync method

OverlayRef createOverlayRefSync([
  1. OverlayState initialState = _defaultState
])

Creates a overlay pane within the registered container.

Returns with a reference to the pane.

Implementation

OverlayRef createOverlayRefSync([OverlayState initialState = _defaultState]) {
  HtmlElement pane = _renderService.createOverlayPaneSync(initialState);
  return _createRef(pane, initialState);
}