createScreenPath method
Implementation
Path createScreenPath(Size screenSize) {
final result = Path();
result.addRRect(
RRect.fromRectAndCorners(
(_windowLocation + Offset(0, barHeight)) & effectiveWindowSize,
bottomLeft: windowRadius,
bottomRight: windowRadius,
),
);
return result;
}