localShape property

RRect get localShape

The shape relative to bounds, for drawing inside a box placed at bounds.

Implementation

RRect get localShape => shape.shift(-bounds.topLeft);