renderTree method
Implementation
@override
void renderTree(ui.Canvas canvas) {
if (_runShader) {
decorator.applyChain(
(decoratorCanvas) {
_applyShader(
decoratorCanvas,
(recorderCanvas) {
render(recorderCanvas);
for (var c in children) {
c.renderTree(recorderCanvas);
}
},
);
},
canvas,
);
} else {
super.renderTree(canvas);
}
}