verticalCenter property
double
get
verticalCenter
The y-coordinate of the vertical center of this rectangle.
Implementation
double get verticalCenter => top + height / 2;
The y-coordinate of the vertical center of this rectangle.
double get verticalCenter => top + height / 2;