toRect method

Rect toRect()

Implementation

Rect toRect() => Rect.fromLTWH(x - anchor.relativePosition.dx * width,
    y - anchor.relativePosition.dy * height, width, height);