@@ -97,22 +97,18 @@ class BuildWebCommand extends BuildSubCommand {
9797 );
9898
9999 //
100- // Experimental options
100+ // WebAssembly compilation options
101101 //
102- if (featureFlags.isFlutterWebWasmEnabled) {
103- argParser.addSeparator ('Experimental options' );
104- }
102+ argParser.addSeparator ('WebAssembly compilation options' );
105103 argParser.addFlag (
106104 FlutterOptions .kWebWasmFlag,
107105 help: 'Compile to WebAssembly rather than JavaScript.\n $kWasmMoreInfo ' ,
108106 negatable: false ,
109- hide: ! featureFlags.isFlutterWebWasmEnabled,
110107 );
111108 argParser.addFlag (
112109 'strip-wasm' ,
113110 help: 'Whether to strip the resulting wasm file of static symbol names.' ,
114111 defaultsTo: true ,
115- hide: ! featureFlags.isFlutterWebWasmEnabled,
116112 );
117113 }
118114
@@ -148,16 +144,13 @@ class BuildWebCommand extends BuildSubCommand {
148144
149145 final List <WebCompilerConfig > compilerConfigs;
150146 if (boolArg ('wasm' )) {
151- if (! featureFlags.isFlutterWebWasmEnabled) {
152- throwToolExit ('Compiling to WebAssembly (wasm) is only available on the beta and master channels.' );
153- }
154147 if (stringArg (FlutterOptions .kWebRendererFlag) != argParser.defaultFor (FlutterOptions .kWebRendererFlag)) {
155148 throwToolExit ('"--${FlutterOptions .kWebRendererFlag }" cannot be combined with "--${FlutterOptions .kWebWasmFlag }"' );
156149 }
157150 globals.logger.printBox (
158- title: 'Experimental feature' ,
151+ title: 'New feature' ,
159152 '''
160- WebAssembly compilation is experimental .
153+ WebAssembly compilation is new. Understand the details before deploying to production .
161154 $kWasmMoreInfo ''' ,
162155 );
163156
0 commit comments