shakti goyal
shakti goyal

Reputation: 553

How to capture screenshot of camera preview with overlay

I'm using flutter framework for building IOS app, I have used camera package to preview camera in the app and there is stacked location detail along with google map widget over it, how to capture both of them?

because If I would just take a screenshot of it using camera preview method, it will capture only camera preview excluding overlay widget

I have tried repaint boundary approach as well but it won't capture widgets like google map because it comes under platform view which render outside of the flutter framework

Upvotes: 0

Views: 33

Answers (0)

Related Questions