Update golden tests (#128914)
This commit is contained in:
@@ -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),
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user