Widget sized({double? height, double? width}) { if (width != null && height != null) { return SizedBox( height: height, width: width, child: this, ); } else { return this; } }