moveBottom method

Rect moveBottom(
  1. double bottom
)

Moves the rectangle vertically, leaving the rectangle's bottom edge at the given y coordinate. The rectangle's size is unchanged.

Implementation

Rect moveBottom(double bottom) {
  return Rect.fromLTWH(left, bottom - height, width, height);
}