initialize method

void initialize(
  1. BuildContext context,
  2. OverlayEntry entry
)

Implementation

void initialize(BuildContext context, OverlayEntry entry) {
  if (!hideSuggestionOverlay) {
    _overlayEntry = entry;
  }
  _context = context;
  if (_status == ControllerStatus.opening) {
    _status = ControllerStatus.closed;
    open();
  }
}