render method Null safety

  1. @override
void render(
  1. RenderState renderState
)
override

Renders this display object with the given renderState. The display object is rendered without its filters.

Implementation

@override
void render(RenderState renderState) {
  final displayObject = _getDisplayObject();
  if (displayObject != null) {
    renderState.renderObject(displayObject);
  }
}