captureScreen static method

Future<void> captureScreen(
  1. BuildContext context
)

Captures the current screen and stores it in bodyCapture.

Implementation

static Future<void> captureScreen(BuildContext context) async {
  try {
    _bodyCapture = await captureWidget(_staticBody3CaptureKey!, context);
  } catch (_) {}
}