takeScreenshot method

Future<void> takeScreenshot(
  1. RenderRepaintBoundary boundary
)

Implementation

Future<void> takeScreenshot(RenderRepaintBoundary boundary) async {
  Timer.periodic(const Duration(milliseconds: 100), (Timer timer) async {
    await takeSingleScreenShot(boundary);
  });
}