withHeight method

Widget withHeight(
  1. double? height
)

Set the height of this widget set to height by wrapping it inside a SizedBox

Implementation

Widget withHeight(double? height) {
  return SizedBox(height: height, child: this);
}