height method
Creates a SizedBox with a specified height.
This is a shortcut to create a SizedBox with only height and no width.
Example:
Image.asset('test').height(50); // A box with 50 height and no width.
height: The height of the SizedBox.
Implementation
Widget height(double height) => SizedBox(height: height, child: this);