paintBoundsSize property

Size? get paintBoundsSize

获取组件的宽高

Implementation

Size? get paintBoundsSize {
  var rect = paintBounds;
  if (rect == null) return null;
  return Size(rect.right - rect.left, rect.bottom - rect.top);
}