diff --git a/src/development/platform-integration/web/initialization.md b/src/development/platform-integration/web/initialization.md index 26d83f02d34..25f8133e04c 100644 --- a/src/development/platform-integration/web/initialization.md +++ b/src/development/platform-integration/web/initialization.md @@ -130,6 +130,7 @@ You can pass in the following (optional) parameters: | Name | Description | Dart Type | |-|-|-| |`canvasKitBaseUrl`| The base URL from where `canvaskit.wasm` is downloaded. |`String`| +|`canvasKitVariant`| The variant of CanvasKit to be downloaded. Available options are:

1. `auto`: Chooses the most optimal variant for the browser. The option defaults to this value.

2. `full`: Downloads the full variant of CanvasKit that works in all browsers.

3. `chromium`: Downloads a smaller variant of CanvasKit that uses APIs compatible with Chromium. **_Warning_**: Don't use the `chromium` option unless you plan on only using Chromium-based browsers. |`String`| |`canvasKitForceCpuOnly`| When `true`, forces CPU-only rendering in CanvasKit (the engine won't use WebGL). |`bool`| |`canvasKitMaximumSurfaces`| The maximum number of overlay surfaces that the CanvasKit renderer can use. |`double`| |`debugShowSemanticNodes`| If `true`, Flutter visibly renders the semantics tree onscreen (for debugging). |`bool`|