Update golden tests (#128914)

This commit is contained in:
Qun Cheng
2023-06-15 20:09:43 +00:00
committed by GitHub
parent c7167765d7
commit c3b2175a40
8 changed files with 439 additions and 411 deletions

View File

@@ -20,6 +20,7 @@ class TextMagnifierExampleApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData(useMaterial3: false),
home: Scaffold(
body: Padding(
padding: const EdgeInsets.symmetric(horizontal: 48.0),

View File

@@ -20,8 +20,9 @@ void main() {
testWidgets('gradient matches golden', (WidgetTester tester) async {
await tester.pumpWidget(
const MaterialApp(
home: SizedBox(
MaterialApp(
theme: ThemeData(useMaterial3: false),
home: const SizedBox(
width: 800,
height: 600,
child: RepaintBoundary(