didAttachRenderer method

  1. @override
void didAttachRenderer()
inherited

Implementation

@override
void didAttachRenderer() {
  RenderBoxModel _renderBoxModel = renderBoxModel!;

  // Set display and transformedDisplay when display is not set in style.
  _renderBoxModel.renderStyle.initDisplay(style, defaultDisplay);

  // Bind pointer responder.
  addEventResponder(_renderBoxModel);

  if (_hasIntersectionObserverEvent(eventHandlers)) {
    _renderBoxModel.addIntersectionChangeListener(handleIntersectionChange);
  }
}