center property
IntOffset
get
center
The center point of the rectangle.
Implementation
IntOffset get center => IntOffset(
left + (width ~/ _centerDivisor),
top + (height ~/ _centerDivisor),
);
The center point of the rectangle.
IntOffset get center => IntOffset(
left + (width ~/ _centerDivisor),
top + (height ~/ _centerDivisor),
);