When height is specified parent constraints are ignored. When only width or height is specified the original aspect ratio is preserved.
final double? height;