@@ -21,11 +21,11 @@ your needs. The two renderers are:
21
21
The ` --web-renderer ` command line option takes one of three values:
22
22
` canvaskit ` , ` html ` , or ` auto ` .
23
23
24
- * ` canvaskit ` (soon to be default) - always use the CanvasKit renderer
25
- * ` auto ` (default) - automatically chooses which renderer to use. This option
24
+ * ` canvaskit ` (default) - always use the CanvasKit renderer
25
+ * ` html ` - always use the HTML renderer
26
+ * ` auto ` - automatically chooses which renderer to use. This option
26
27
chooses the HTML renderer when the app is running in a mobile browser, and
27
28
CanvasKit renderer when the app is running in a desktop browser.
28
- * ` html ` - always use the HTML renderer
29
29
30
30
This flag can be used with the ` run ` or ` build ` subcommands. For example:
31
31
@@ -98,22 +98,22 @@ mobile browsers and optimizing for performance on desktop browsers.
98
98
99
99
## Examples
100
100
101
- Run in Chrome using the default renderer option (` auto ` ):
101
+ Run in Chrome using the default renderer option (` canvaskit ` ):
102
102
103
103
``` console
104
104
flutter run -d chrome
105
105
```
106
106
107
- Build your app in release mode, using the default (` auto ` ) option:
107
+ Build your app in release mode, using the default (` canvaskit ` ) option:
108
108
109
109
``` console
110
110
flutter build web --release
111
111
```
112
112
113
- Build your app in release mode, using just the CanvasKit renderer:
113
+ Build your app in release mode, using the ` auto ` renderer option :
114
114
115
115
``` console
116
- flutter build web --web-renderer canvaskit --release
116
+ flutter build web --web-renderer auto --release
117
117
```
118
118
119
119
Run your app in profile mode using the HTML renderer:
0 commit comments