willAttachRenderer method

  1. @override
void willAttachRenderer()
inherited

The renderObject will be / has been insert into parent. You can apply properties to renderObject.

This method should not do anything to update the children of the render object.

Implementation

@override
void willAttachRenderer() {
  // Init render box model.
  if (renderStyle.display != CSSDisplay.none) {
    createRenderer();
  }
}