Set the height of this widget set to height by wrapping it inside a SizedBox
height
Widget withHeight(double? height) { return SizedBox(height: height, child: this); }