Remove RepaintBoundary that is no longer needed. (#159232)

Closes https://github.com/flutter/flutter/issues/66006.

From what I can tell in the multi-view effort a variation of
https://github.com/flutter/flutter/pull/88609 already landed, meaning
that the current device-pixel-ratio is being used (as the tests in
#88609 are now passing), and I believe that means we can remove the
override/hack.

Will rely on "Google Testing" to run a TGP internally, or do so myself
if necessary.
This commit is contained in:
Matan Lurey
2024-11-21 09:50:46 -08:00
committed by GitHub
parent d1e2c5fba7
commit c7dd6419d9
3 changed files with 8 additions and 11 deletions

View File

@@ -30,6 +30,11 @@ void main() {
final Matrix4 matrix = TestViewConfiguration(size: Size.zero).toMatrix();
expect(matrix.storage.every((double x) => x.isFinite), isTrue);
});
test('sets the DPR to match the window', () {
final TestViewConfiguration configuration = TestViewConfiguration(size: const Size(1280.0, 800.0));
expect(configuration.devicePixelRatio, binding.window.devicePixelRatio);
});
});
group(AutomatedTestWidgetsFlutterBinding, () {