diff --git a/packages/flutter_tools/lib/src/compile.dart b/packages/flutter_tools/lib/src/compile.dart index 86661b9343b..24e6f916918 100644 --- a/packages/flutter_tools/lib/src/compile.dart +++ b/packages/flutter_tools/lib/src/compile.dart @@ -74,6 +74,7 @@ Future compile( command.add('--no-link-platform'); if (aot) { command.add('--aot'); + command.add('--tfa'); } if (entryPointsJsonFiles != null) { for (String entryPointsJson in entryPointsJsonFiles) {