Customizing web app initialization.

Choosing which option to use

Choose the auto option (default) if you are optimizing for download size on
mobile browsers and optimizing for performance on desktop browsers.

Choose the html option if you are optimizing download size over performance on
both desktop and mobile browsers.

Choose the canvaskit option if you are prioritizing performance and
pixel-perfect consistency on both desktop and mobile browsers.

Examples

Run in Chrome using the default renderer option (auto):

Build your app in release mode, using the default (auto) option:

Build your app in release mode, using just the CanvasKit renderer:

Run  your app in profile mode using the HTML renderer: