calculateShape method

void calculateShape(
  1. Offset offset,
  2. Size size
)

Implementation

void calculateShape(Offset offset, Size size) {
  outerRect = offset & size;
  innerRect = outerRect.deflate(strokeWidth);
  outerPath = shape.getOuterPath(outerRect);
  innerPath = shape.getOuterPath(innerRect);
}