XYCenterGravity constructor Null safety

XYCenterGravity()