This reverts commit 5feee0d8fa.
This commit is contained in:
@@ -126,10 +126,11 @@ Future<void> main() async {
|
||||
});
|
||||
});
|
||||
|
||||
testWidgets('root view reports correct dimensions', (WidgetTester tester) async {
|
||||
// TODO(jiahaog): Remove when https://github.com/flutter/flutter/issues/66006 is fixed.
|
||||
testWidgets('root widgets are wrapped with a RepaintBoundary', (WidgetTester tester) async {
|
||||
await tester.pumpWidget(const Placeholder());
|
||||
|
||||
expect(tester.binding.renderView.paintBounds, const Rect.fromLTWH(0, 0, 2400, 1800));
|
||||
expect(find.byType(RepaintBoundary), findsOneWidget);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user