[flutter_tools] unbreak g3 roll (#58688)

diff --git a/packages/flutter_tools/lib/src/compile.dart b/packages/flutter_tools/lib/src/compile.dart
index 5a59581..f7d387f 100644
--- a/packages/flutter_tools/lib/src/compile.dart
+++ b/packages/flutter_tools/lib/src/compile.dart
@@ -409,6 +409,8 @@
     String platformDill,
     List<String> dartDefines,
     String librariesSpec,
+    // Deprecated
+    List<String> experimentalFlags,
   }) = DefaultResidentCompiler;
 
   // TODO(jonahwilliams): find a better way to configure additional file system
@@ -505,6 +507,8 @@
     this.platformDill,
     List<String> dartDefines,
     this.librariesSpec,
+    // Deprecated
+    List<String> experimentalFlags, // ignore: avoid_unused_constructor_parameters
   }) : assert(sdkRoot != null),
        _stdoutHandler = StdoutHandler(consumer: compilerMessageConsumer),
        dartDefines = dartDefines ?? const <String>[],