createScreenPath method

Path createScreenPath(
  1. Size screenSize
)

Implementation

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