horizontalCenter property

double get horizontalCenter

Implementation

double get horizontalCenter => x + width / 2;