Skip to content

Would be nice to have a way to validate layouts at many sizes #5885

@eseidelGoogle

Description

@eseidelGoogle

I thought we had written this down somewhere but I don't see it. This came out of a discussion with @Hixie and is a nice-to-have feature, but not anywhere on our near-term roadmap. Filing as this came up in discussion with a customer the other day. The goal is to answer the question of "what devices/screensizes does my app look bad on".

Should be straightforward with flutter to attempt laying out an app/route/widget at lots of different sizes and validate that no layout exceptions (red areas) are thrown. In the headless desktop sky_shell this would be very quick. Presumably there exists a list of known Android device screen sizes/densities somewhere on the web which should be straightforward to compile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: tests"flutter test", flutter_test, or one of our testsc: new featureNothing broken; request for a new capabilitywill need additional triageThis issue or PR needs attention before being routed to secondary triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions