captureScreen static method
Captures the current screen and stores it in bodyCapture.
Implementation
static Future<void> captureScreen(BuildContext context) async {
try {
_bodyCapture = await captureWidget(_staticBody3CaptureKey!, context);
} catch (_) {}
}