Dropsource / monarch

Monarch is a tool for building Flutter widgets in isolation. It makes it easy to build, test and debug complex UIs.
https://monarchapp.io
MIT License
427 stars 21 forks source link

Take screenshot in full resolution #113

Open newloopadmin opened 1 year ago

newloopadmin commented 1 year ago

For screenshots for the app stores, I would really like to be able to take a screenshot in Monarch in full resolution of the app. Besides testing the UI, it would be an easy way to setup data for a good appstore screenshot. The only way I can take the screenshot now is though screencapture, but the app store requires pictures in +1200 pixels

Would this be possible to add?

fertrig commented 1 year ago

This is a good idea and it is something we want to do.

There a few options to explore:

  1. Add a “Take screenshot” button on the Monarch Controller.
  2. Add a set of devices with the app store screenshot requirements (1290 x 2796 pixels, 1284 x 2778 pixels, etc.)
  3. Make the device list configurable by the user. That way you can define the device size you want and then take a screenshot with that device.

There may another option. We'll refine the requirements when we get to it.

iPhones have very high resolutions, thus App Store screenshot specifications define very large resolutions. My concern is that the user will need a pretty large monitor to take a screenshot. There may be a way around this though. I'll have to put more thought into it.