1. override
void beginRenderMask(RenderState renderState, RenderMask mask)

Source

@override
void beginRenderMask(RenderState renderState, RenderMask mask) {
  _renderMask(renderState, mask, 1);
}