didAttachRenderer method

  1. @override
void didAttachRenderer()

Implementation

@override
void didAttachRenderer() {
  super.didAttachRenderer();

  sizedBox =
      RenderConstrainedBox(additionalConstraints: BoxConstraints.loose(size));
  addChild(sizedBox);
}