centerY property
The y-coordinate of the center of the rectangle.
Calculated as top + height / 2
.
Implementation
double get centerY => top + height / 2;
The y-coordinate of the center of the rectangle.
Calculated as top + height / 2
.
double get centerY => top + height / 2;