Unverified Commit 535a4ac3 authored by Yegor's avatar Yegor Committed by GitHub

Clean-up docs for the --web-renderer option (#70880)

parent 45a7a2c0
...@@ -463,11 +463,10 @@ abstract class FlutterCommand extends Command<void> { ...@@ -463,11 +463,10 @@ abstract class FlutterCommand extends Command<void> {
argParser.addOption('web-renderer', argParser.addOption('web-renderer',
defaultsTo: 'html', defaultsTo: 'html',
allowed: <String>['auto', 'canvaskit', 'html'], allowed: <String>['auto', 'canvaskit', 'html'],
help: 'Which rendering backend to use for Flutter for Web.' help: 'The renderer implementation to use when building for the web. Possible values are:\n'
'auto - Use the HTML renderer on mobile devices,' 'html - always use the HTML renderer. This renderer uses a combination of HTML, CSS, SVG, 2D Canvas, and WebGL. This is the default.\n'
' and CanvasKit on desktop devices.' 'canvaskit - always use the CanvasKit renderer. This renderer uses WebGL and WebAssembly to render graphics.\n'
'canvaskit - Always use the CanvasKit renderer.' 'auto - use the HTML renderer on mobile devices, and CanvasKit on desktop devices.',
'html - Default. Always use the HTML renderer.',
); );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment