Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/development/platform-integration/web/initialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:<br><br>1. "auto": Chooses the most optimal variant for the browser (this is the default).<br><br>2. "full": Downloads the full variant of CanvasKit that works in all browsers.<br><br>3. "chromium": Downloads a smaller variant of CanvasKit that takes advantage of APIs that are only available in Chromium (**_WARNING_**: don't use the "chromium" option unless you know what you are doing. If you use it, your app will break on non-Chromium 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`|
Expand Down