set onClipPath(Path Function(Size size)? value) { if (_onClipPath != value) { _onClipPath = value; markNeedsPaint(); } }