createScreenPath method
Implementation
Path createScreenPath(Size screenSize) {
final rect = Offset(
innerBodyInsets.left + screenInsets.left,
innerBodyInsets.top + screenInsets.top,
) &
screenSize;
final result = Path();
result.addRRect(RRect.fromRectAndRadius(rect, screenRadius));
return result;
}