height property Null safety
If non-null, require the image to have this height.
If null, the image will pick a size that best preserves its intrinsic aspect ratio.
Implementation
double? get height => _height;
Implementation
set height(double? value) {
if (value == _height) {
return;
}
_height = value;
markNeedsLayout();
}