void setCaptureScreenShotMethod( Future<Uint8List> Function()? captureScreenShotMethod) { _captureScreenShot = captureScreenShotMethod; }