height method

Widget height(
  1. double height
)

Implementation

Widget height(double height) {
  double? width;
  if (this is SizedBox) {
    width = (this as SizedBox).width;
  }
  return SizedBox(
    height: height,
    width: width,
    child: this,
  );
}