horizontalCenter property
double
get
horizontalCenter
The x-coordinate of the horizontal center of this rectangle.
Implementation
double get horizontalCenter => left + width / 2;
The x-coordinate of the horizontal center of this rectangle.
double get horizontalCenter => left + width / 2;