void setSize({double? width, double? height}) { if (width != null) this.width.value = width; if (height != null) this.height.value = height; }