flutter/packages/flutter_tools/lib
munrocket a9e9ff9eb0
Precise browser resizing with integration_test and driver (#160678)
Fixes #136109 P2
Related #148028 P1

Roadmap:
- [x] find why not working (described in #136109)
- [x] create new API with backward compatibility
(`--browser-dimension=393×852@3`)
- [x] fix edge cases
- [x] internal testing
- [x] add documentation (flutter drive -h)

This PR:
- Fixes Chrome bug from dart side
- Adds pixelRatio mobile emulation in web
- Adds new notation: 393,852 -> 393×852[@1]
- Leaves previous behavior as it was, so 393,852 will give wrong size
until Chrome will fix it. But you can use 393×852@1.

---------

Co-authored-by: Mouad Debbar <mdebbar@google.com>
2025-05-26 16:58:11 +00:00
..
src Precise browser resizing with integration_test and driver (#160678) 2025-05-26 16:58:11 +00:00
executable.dart Reverts "Add workspace (#169451)" (#169468) 2025-05-26 14:07:27 +00:00
runner.dart [tool] Fix deprecated API calls within tool (#168200) 2025-05-13 17:27:22 +00:00