willAttachRenderer method

  1. @override
void willAttachRenderer()
override

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() {
  super.willAttachRenderer();
  style.addStyleChangeListener(_stylePropertyChanged);
}