@override void renderTree(Canvas canvas) { if (decorator == null) { super.renderTree(canvas); } else { decorator!.applyChain(super.renderTree, canvas); } }