screenshotOf static method

void screenshotOf(
  1. BuildContext? context,
  2. String? tag
)

Implementation

static void screenshotOf(BuildContext? context, String? tag) async {
  if(!isSupported)
  {
    return;
  }
  await captureScreenshotWithTag(tag);
}