center property Null safety

Point<num> center

Implementation

Point<num> get center => Point<num>(left + width / 2, top + height / 2);