From f89ce028d764e5554354ef034ab2415d6baa49f3 Mon Sep 17 00:00:00 2001 From: Hans Muller Date: Mon, 26 Jun 2023 18:26:54 -0700 Subject: [PATCH] Updated rfw/test/material_widgets_test.dart for M3 (#4316) The appearance of the golden image created by the rfw `'Material widgets'` test depends on the Material2 theme, which is currently the default theme. Updated the test to ensure that the test continues to succeed when the default theme is changed to Material3. See https://github.com/flutter/flutter/issues/127064 --- packages/rfw/test/material_widgets_test.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/rfw/test/material_widgets_test.dart b/packages/rfw/test/material_widgets_test.dart index eef21e4fc668..1742ec42f1c6 100644 --- a/packages/rfw/test/material_widgets_test.dart +++ b/packages/rfw/test/material_widgets_test.dart @@ -24,6 +24,7 @@ void main() { final List eventLog = []; await tester.pumpWidget( MaterialApp( + theme: ThemeData(useMaterial3: false), home: RemoteWidget( runtime: runtime, data: data,