Web renderers

Platform integration

Web

Web renderers

Command line options

Runtime configuration

Choosing which option to use

Examples

When running and building apps for the web, you can choose between two different
renderers. This page describes both renderers and how to choose the best one for
your needs. The two renderers are:

Uses a combination of HTML elements, CSS, Canvas elements, and SVG elements.
This renderer has a smaller download size.

This renderer is fully consistent with Flutter mobile and desktop, has
faster performance with higher widget density, but adds about 2MB in
download size.

Command line options

The --web-renderer command line option takes one of three values, auto,
html, or canvaskit.