Updated some golden image tests for M2/M3 (#129794)

Updated some of the golden image tests that were temporarily changed in https://github.com/flutter/flutter/pull/128914 to have M2 and M3 versions. 

Updated the linear_gradient_0 example to M3 (which will require updating its golden image as well).

More info in https://github.com/flutter/flutter/issues/127064
This commit is contained in:
Hans Muller
2023-06-30 11:09:56 -07:00
committed by GitHub
parent 34c092f2b3
commit 26ad4a4a79
5 changed files with 298 additions and 17 deletions

View File

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