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