Rithesh

Results 28 comments of Rithesh

> There is another way to fix it. Just call `unityController.resume()` after you get white screen. It also helps. In my case, I was getting a white screen when Ios...

@dheerajHipster Did you solve this issue?

Can we get info for debugging. Can you add result of `flutter doctor -v` here. Because when we tried in flutter 3.0.1 capturing image works fine.

This Issue is related to [CanvasKit](https://github.com/flutter/flutter/issues/94895) Current Walkaround is adding option `--dart-define=BROWSER_IMAGE_DECODING_ENABLED=false` while running in `release mode`. ### **Please Note: This will work only in `release mode`** So if you...

For Reference [https://github.com/SachinGanesh/screenshot/issues/103](https://github.com/SachinGanesh/screenshot/issues/103)

@bakboem Can we get some details like flutter doctor output, some code to reproduce this bug?

@mdat31 Can you try to capture after some delay like: ```dart ElevatedButton( onPressed: () async { ///Delay until splash animation is complete. await Future.delayed(Duration(milliseconds: 500)); await _screenshotController.capture(delay: const Duration(milliseconds: 10));...

for Reference [https://github.com/SachinGanesh/screenshot/issues/103](https://github.com/SachinGanesh/screenshot/issues/103)

@ImTung If you are rendering widget offscreen the you can make use of `captureFromWidget` function.