targetRectangle property Null safety

Rectangle<num> targetRectangle

Implementation

Rectangle<num> get targetRectangle {
  final num l = offsetRectangle.left / pixelRatio;
  final num t = offsetRectangle.top / pixelRatio;
  final num w = offsetRectangle.width / pixelRatio;
  final num h = offsetRectangle.height / pixelRatio;
  return Rectangle<num>(l, t, w, h);
}