Sets the height of the rectangle to the given height. The bottom edge is changed, but not the top one.
Rect setHeight(double height) { return Rect.fromLTWH(left, top, width, height); }