Android P ie устройство не показывает изображения, снятые с помощью приложения flutter - PullRequest
0 голосов
/ 18 июня 2020
• 1000 не могу найти скриншот.
  takeScreenshot() async {
    screenshotController
                  .capture(pixelRatio:2)
                  .then((image) async {
                setState(() {
                  _imageFile = image;
                });
                final result =
                    await ImageGallerySaver.saveImage(image.readAsBytesSync());
                print("File Saved to Gallery");
              }).catchError((onError) {
                print(onError);
              });

      }
...