diff --git a/dev/devicelab/lib/tasks/perf_tests.dart b/dev/devicelab/lib/tasks/perf_tests.dart index cc499cd794..ea24faf71d 100644 --- a/dev/devicelab/lib/tasks/perf_tests.dart +++ b/dev/devicelab/lib/tasks/perf_tests.dart @@ -258,7 +258,9 @@ class WebCompileTest { rmTree(sampleDir); await inDirectory(Directory.systemTemp, () async { - await flutter('create', options: ['--template=app', '--web', sampleAppName]); + await flutter('create', options: ['--template=app', '--web', sampleAppName], environment: { + 'FLUTTER_WEB': 'true', + }); await inDirectory(sampleDir, () async { await flutter('packages', options: ['get']); await evalFlutter('build', options: [