Skip to content

Remove @trustTypes #60501

Open
Open
@srujzs

Description

@srujzs

const _TrustTypes trustTypes = _TrustTypes();

This annotation was always communicated as experimental and be a bridge in performance in order to avoid unnecessary casts. It was used in Flutter early on, but is now no longer needed or used and should be removed. You can only import this annotation through package:js, which is now discontinued.

There's some clean up in our transformers we should do as well when we remove this annotation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.web-js-interopIssues that impact all js interop

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions