diff --git a/packages/flutter_test/test/matchers_test.dart b/packages/flutter_test/test/matchers_test.dart index 1f099afa99..efeb3bd3dd 100644 --- a/packages/flutter_test/test/matchers_test.dart +++ b/packages/flutter_test/test/matchers_test.dart @@ -475,7 +475,7 @@ void main() { testWidgets('Can match all semantics flags and actions', (WidgetTester tester) async { int actions = 0; int flags = 0; - const CustomSemanticsAction action = const CustomSemanticsAction(label: 'test'); + const CustomSemanticsAction action = CustomSemanticsAction(label: 'test'); for (int index in SemanticsAction.values.keys) actions |= index; for (int index in SemanticsFlag.values.keys)