Number

Initializing the engine

As of Flutter 3.7.0, you can use the initializeEngine method to
configure several run-time options of the Flutter web engine through a
JsFlutterConfiguration object.

You can pass in the following (optional) parameters:

canvasKitBaseUrl

The base URL from where canvaskit.wasm is downloaded.

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

renderer