devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Device Preview

Open subzero911 opened this issue 1 year ago • 2 comments

Use case

I want to be able to preview the Flutter application in different screen sizes.

Proposal

There's an existing package https://pub.dev/packages/device_preview , but it was abandoned and wasn't updated for a long time. It has numerous issues which won't be fixed.

It would be nice to have such a tool out of the box in a DevTools, supported by the Flutter team.

subzero911 avatar Mar 07 '24 18:03 subzero911

@subzero911 I think this feature request is more suited in devtools repo, so transferring it accordingly.

darshankawar avatar Mar 08 '24 07:03 darshankawar

yes need this tool ,

please make one flutter team ! humble request :)

vijayvaghela72 avatar May 15 '24 08:05 vijayvaghela72

@bkonyi how much of this work overlaps with the UI previews work you are implementing? We could use some of the features here to inform what we should support. If you don't think much overlaps, the other option would be to encourage the community to pick this package up and ship it as a DevTools extension.

kenzieschmoll avatar Jul 17 '24 21:07 kenzieschmoll

@bkonyi how much of this work overlaps with the UI previews work you are implementing?

We're still in the planning stage, but I have a feeling there will be quite a bit of overlap. At the very least, the UI previews work will make it easy to support rendering with different device dimensions / properties through a widget provided via a 3rd party package.

bkonyi avatar Jul 17 '24 21:07 bkonyi