bottom property
The y-coordinate of the bottom edge of the rectangle.
Calculated as top + height
.
Implementation
T get bottom => (top + height) as T;
Sets the y-coordinate of the bottom edge of the rectangle.
Implementation
set bottom(num newBottom) => top = (newBottom - height) as T;