Skip to content

Configure web renderer at runtime #24

Closed
@FeodorFitsner

Description

@FeodorFitsner

Example usage:

# ...

flet.app(target=main, web_renderer="html")

Supported values:

  • auto (default) - optimizing for download size on mobile browsers and optimizing for performance on desktop browsers.
  • html - optimizing download size over performance on both desktop and mobile browsers.
  • canvaskit - prioritizing performance and pixel-perfect consistency on both desktop and mobile browsers.

Resources: https://docs.flutter.dev/development/platform-integration/web/renderers#runtime-configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovement/Optimization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions