Code Monkey home page Code Monkey logo

Comments (14)

pinkeshAubergine avatar pinkeshAubergine commented on July 21, 2024 7

@SachinGanesh I have tried setting the delay of 20 Seconds but the problem is still there. Could you please look into this.

I am having full-screen google map and I am getting result like this. The complete blank screen.
Issue_20191004_150313

from screenshot.

ritheshSalyan avatar ritheshSalyan commented on July 21, 2024 2

we cannot capture platform views because of flutter/flutter#25306. but for google maps, you have a method named takeScreenshot maps plugin. more info check this issue

from screenshot.

harlanx avatar harlanx commented on July 21, 2024 2

In my case I needed to combine other widgets and google map in a screenshot. So what I did is wrap google map widget and a visibility widget with Image.memory in a Stack so whenever a screenshot function is executed, the .takeSnapshot method of google maps will provide the Uint8List for Image.memory widget then set the visibility to true and returns to false when it is done.

from screenshot.

SachinGanesh avatar SachinGanesh commented on July 21, 2024

Hi, Maps will take some time to render. please use the delay parameter in capture method. this issue is discussed here #9

from screenshot.

jsamples avatar jsamples commented on July 21, 2024

Has there been any progress with this issue? We are experiencing the same issue with google maps

from screenshot.

sanekyy avatar sanekyy commented on July 21, 2024

Hey. I faced with the same problem when try to caprure screenshot from video_view.
So I think this problem related with platform view.

from screenshot.

SachinGanesh avatar SachinGanesh commented on July 21, 2024

Yes. I did some testing. Its the issue with the Platform View not getting rendered while taking the screenshot.

from screenshot.

sanekyy avatar sanekyy commented on July 21, 2024

So, do you have an idea how to get screenshot of Platform View?

from screenshot.

pinkeshAubergine avatar pinkeshAubergine commented on July 21, 2024

@SachinGanesh Could you please suggest any workaround for this?

from screenshot.

bwhiteTP avatar bwhiteTP commented on July 21, 2024

I am also interested in a solution for this.

from screenshot.

toonztudio avatar toonztudio commented on July 21, 2024

I can confirm this issue.
I found this problem when make a screenshot of camera too?

from screenshot.

sanekyy avatar sanekyy commented on July 21, 2024

I can confirm this issue.
I found this problem when make a screenshot of camera too?

This issue is related to platform views.

from screenshot.

CoderJava avatar CoderJava commented on July 21, 2024

Any update on this issue?

from screenshot.

CoderJava avatar CoderJava commented on July 21, 2024

I fixed it with use this plugin
native_screenshot

from screenshot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.