height property

T height

The height of the rectangle.

Source

T get height => _height;
void height=(T height)

Sets the height of the rectangle.

The height must be non-negative. If a negative height is supplied, it is clamped to zero.

Setting the value will change the bottom edge of the rectangle, but will not change top.

Source

void set height(T height) {
  if (height < 0) height = _clampToZero<T>(height);
  _height = height;
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-math/MutableRectangle/height.html