File tree 2 files changed +3
-1
lines changed 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -619,6 +619,8 @@ class TestCommand extends Command<bool> with ArgUtils {
619
619
'--enable-experiment=non-nullable' ,
620
620
'--no-sound-null-safety' ,
621
621
if (input.forCanvasKit) '-DFLUTTER_WEB_USE_SKIA=true' ,
622
+ if (! input.forCanvasKit) '-DFLUTTER_WEB_AUTO_DETECT=false' ,
623
+ if (! input.forCanvasKit) '-DFLUTTER_WEB_USE_SKIA=false' ,
622
624
'-O2' ,
623
625
'-o' ,
624
626
targetFileName, // target path.
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ bool _detectRenderer() {
31
31
/// Using flutter tools option "--web-render=auto" would set the value to true.
32
32
/// Otherwise, it would be false.
33
33
const bool _autoDetect =
34
- bool .fromEnvironment ('FLUTTER_WEB_AUTO_DETECT' , defaultValue: false );
34
+ bool .fromEnvironment ('FLUTTER_WEB_AUTO_DETECT' , defaultValue: true );
35
35
36
36
/// Enable the Skia-based rendering backend.
37
37
///
You can’t perform that action at this time.
0 commit comments