centerX property
The x-coordinate of the center of the rectangle.
Calculated as left + width / 2
.
Implementation
double get centerX => left + width / 2;
The x-coordinate of the center of the rectangle.
Calculated as left + width / 2
.
double get centerX => left + width / 2;