setHeight method

Rect setHeight(
  1. double height
)

Sets the height of the rectangle to the given height. The bottom edge is changed, but not the top one.

Implementation

Rect setHeight(double height) {
  return Rect.fromLTWH(left, top, width, height);
}