height property

  1. @override
CSSLengthValue get height
override

Implementation

@override
CSSLengthValue get height => _height ?? CSSLengthValue.auto;
set height (CSSLengthValue? value)

Implementation

set height(CSSLengthValue? value) {
  // Negative value is invalid, auto value is parsed at layout stage.
  if ((value != null && value.value != null && value.value! < 0) || height == value) {
    return;
  }
  _height = value;
  _markSelfAndParentNeedsLayout();
}