mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Bumps [@angular/common](https://github.com/angular/angular/tree/HEAD/packages/common) from 19.2.14 to 20.1.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/angular/angular/releases"><code>@angular/common</code>'s releases</a>.</em></p> <blockquote> <h2>20.1.4</h2> <h3>compiler</h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="db3c5826ee"><img src="https://img.shields.io/badge/db3c5826ee-fix-green" alt="fix - db3c5826ee" /></a></td> <td>exclude more safe reads expression from 2way-binding (<a href="https://github.com/angular/angular/tree/HEAD/packages/common/issues/62852">#62852</a>)</td> </tr> </tbody> </table> <h3>core</h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="c633b63e56"><img src="https://img.shields.io/badge/c633b63e56-fix-green" alt="fix - c633b63e56" /></a></td> <td>update symbols for new signals api (<a href="https://github.com/angular/angular/tree/HEAD/packages/common/issues/62284">#62284</a>)</td> </tr> </tbody> </table> <h3>http</h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="ab6033979a"><img src="https://img.shields.io/badge/ab6033979a-fix-green" alt="fix - ab6033979a" /></a></td> <td>add missing http options allowed in fetch API (<a href="https://github.com/angular/angular/tree/HEAD/packages/common/issues/62881">#62881</a>)</td> </tr> <tr> <td><a href="15670d8417"><img src="https://img.shields.io/badge/15670d8417-fix-green" alt="fix - 15670d8417" /></a></td> <td>propagate plain errors when parsing fails (<a href="https://github.com/angular/angular/tree/HEAD/packages/common/issues/62765">#62765</a>)</td> </tr> </tbody> </table> <h2>20.1.3</h2> <h3>core</h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="2c522efbe5"><img src="https://img.shields.io/badge/2c522efbe5-fix-green" alt="fix - 2c522efbe5" /></a></td> <td>fix change tracking for Resource#hasValue (<a href="https://github.com/angular/angular/tree/HEAD/packages/common/issues/62595">#62595</a>)</td> </tr> </tbody> </table> <h3>platform-browser</h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="2fd1f7beb5"><img src="https://img.shields.io/badge/2fd1f7beb5-fix-green" alt="fix - 2fd1f7beb5" /></a></td> <td>resolve component resources before bootstrapping in JIT mode (<a href="https://github.com/angular/angular/tree/HEAD/packages/common/issues/62758">#62758</a>)</td> </tr> </tbody> </table> <h2>20.1.2</h2> <h3>compiler</h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="8ad10fd63b"><img src="https://img.shields.io/badge/8ad10fd63b-fix-green" alt="fix - 8ad10fd63b" /></a></td> <td>fix detection of directive deps in JIT (<a href="https://github.com/angular/angular/tree/HEAD/packages/common/issues/62666">#62666</a>)</td> </tr> </tbody> </table> <h2>20.1.1</h2> <h3>compiler</h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="75d2a349b4"><img src="https://img.shields.io/badge/75d2a349b4-fix-green" alt="fix - 75d2a349b4" /></a></td> <td>incorrect spans for left side of binary operation (<a href="https://github.com/angular/angular/tree/HEAD/packages/common/issues/62641">#62641</a>)</td> </tr> <tr> <td><a href="70c8780c54"><img src="https://img.shields.io/badge/70c8780c54-fix-green" alt="fix - 70c8780c54" /></a></td> <td>more permissive parsing of @ characters (<a href="https://github.com/angular/angular/tree/HEAD/packages/common/issues/62644">#62644</a>)</td> </tr> </tbody> </table> <h3>compiler-cli</h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="9506cdfaad"><img src="https://img.shields.io/badge/9506cdfaad-fix-green" alt="fix - 9506cdfaad" /></a></td> <td>infer type of event target for void elements (<a href="https://github.com/angular/angular/tree/HEAD/packages/common/issues/62648">#62648</a>)</td> </tr> </tbody> </table> <h3>core</h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="26ade4a337"><img src="https://img.shields.io/badge/26ade4a337-fix-green" alt="fix - 26ade4a337" /></a></td> <td>Ensure application remains unstable during bootstrap (<a href="https://github.com/angular/angular/tree/HEAD/packages/common/issues/62631">#62631</a>)</td> </tr> <tr> <td><a href="a81f0faa1a"><img src="https://img.shields.io/badge/a81f0faa1a-fix-green" alt="fix - a81f0faa1a" /></a></td> <td>InputBinding marks component a dirty. (<a href="https://github.com/angular/angular/tree/HEAD/packages/common/issues/62613">#62613</a>)</td> </tr> </tbody> </table> <h3>http</h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="276836ee73"><img src="https://img.shields.io/badge/276836ee73-fix-green" alt="fix - 276836ee73" /></a></td> <td>do not display warnings <code>Angular detected that a </code>HttpClient<code>request with the</code>keepalive<code> option was sent using XHR</code> when option is not true (<a href="https://github.com/angular/angular/tree/HEAD/packages/common/issues/62536">#62536</a>)</td> </tr> </tbody> </table> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/angular/angular/blob/main/CHANGELOG.md"><code>@angular/common</code>'s changelog</a>.</em></p> <blockquote> <h1>20.1.4 (2025-07-31)</h1> <h3>compiler</h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="db3c5826ee">db3c5826ee</a></td> <td>fix</td> <td>exclude more safe reads expression from 2way-binding (<a href="https://redirect.github.com/angular/angular/pull/62852">#62852</a>)</td> </tr> </tbody> </table> <h3>core</h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="c633b63e56">c633b63e56</a></td> <td>fix</td> <td>update symbols for new signals api (<a href="https://redirect.github.com/angular/angular/pull/62284">#62284</a>)</td> </tr> </tbody> </table> <h3>http</h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="ab6033979a">ab6033979a</a></td> <td>fix</td> <td>add missing http options allowed in fetch API (<a href="https://redirect.github.com/angular/angular/pull/62881">#62881</a>)</td> </tr> <tr> <td><a href="15670d8417">15670d8417</a></td> <td>fix</td> <td>propagate plain errors when parsing fails (<a href="https://redirect.github.com/angular/angular/pull/62765">#62765</a>)</td> </tr> </tbody> </table> <h1>20.2.0-next.2 (2025-07-23)</h1> <h3>compiler</h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="7767aa640c">7767aa640c</a></td> <td>fix</td> <td>allow more characters in square-bracketed attribute names (<a href="https://redirect.github.com/angular/angular/pull/62742">#62742</a>)</td> </tr> <tr> <td><a href="3171d01452">3171d01452</a></td> <td>fix</td> <td>fix detection of directive deps in JIT (<a href="https://redirect.github.com/angular/angular/pull/62666">#62666</a>)</td> </tr> </tbody> </table> <h3>compiler-cli</h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="5abfe4a899">5abfe4a899</a></td> <td>feat</td> <td>add diagnostic for uninvoked functions in text interpolation (<a href="https://redirect.github.com/angular/angular/pull/59191">#59191</a>)</td> </tr> </tbody> </table> <h3>core</h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="6b1f4b9e8b">6b1f4b9e8b</a></td> <td>feat</td> <td>add enter and leave animation instructions (<a href="https://redirect.github.com/angular/angular/pull/62682">#62682</a>)</td> </tr> <tr> <td><a href="cec91c0035">cec91c0035</a></td> <td>feat</td> <td>add option to infer the tag names of components in tests (<a href="https://redirect.github.com/angular/angular/pull/62283">#62283</a>)</td> </tr> <tr> <td><a href="4138aca91f">4138aca91f</a></td> <td>feat</td> <td>render ARIA property bindings as attributes (<a href="https://redirect.github.com/angular/angular/pull/62630">#62630</a>)</td> </tr> <tr> <td><a href="593cc8a368">593cc8a368</a></td> <td>fix</td> <td>checks if body exists before continuing (<a href="https://redirect.github.com/angular/angular/pull/62768">#62768</a>)</td> </tr> <tr> <td><a href="b8e415a717">b8e415a717</a></td> <td>fix</td> <td>fix change tracking for Resource#hasValue (<a href="https://redirect.github.com/angular/angular/pull/62595">#62595</a>)</td> </tr> <tr> <td><a href="063b5e166f">063b5e166f</a></td> <td>fix</td> <td>switch check to documentElement with chaining (<a href="https://redirect.github.com/angular/angular/pull/62773">#62773</a>)</td> </tr> </tbody> </table> <h3>platform-browser</h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="74d99ed379">74d99ed379</a></td> <td>fix</td> <td>resolve component resources before bootstrapping in JIT mode (<a href="https://redirect.github.com/angular/angular/pull/62758">#62758</a>)</td> </tr> </tbody> </table> <h3>service-worker</h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="4ac6171b09">4ac6171b09</a></td> <td>feat</td> <td>Adds support for updateViaCache in provideServiceWorker (<a href="https://redirect.github.com/angular/angular/pull/62721">#62721</a>)</td> </tr> </tbody> </table> <h1>20.1.3 (2025-07-23)</h1> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="82fcc9c136"><code>82fcc9c</code></a> Revert "fix(http): add missing http options allowed in fetch API (<a href="https://github.com/angular/angular/tree/HEAD/packages/common/issues/62881">#62881</a>)" (#...</li> <li><a href="ab6033979a"><code>ab60339</code></a> fix(http): add missing http options allowed in fetch API (<a href="https://github.com/angular/angular/tree/HEAD/packages/common/issues/62881">#62881</a>)</li> <li><a href="ea1afec1e4"><code>ea1afec</code></a> build: move http_server and generate_api_docs into defaults2.bzl (<a href="https://github.com/angular/angular/tree/HEAD/packages/common/issues/62878">#62878</a>)</li> <li><a href="f0fca612ee"><code>f0fca61</code></a> refactor(common): replace aio links to adev (<a href="https://github.com/angular/angular/tree/HEAD/packages/common/issues/62839">#62839</a>)</li> <li><a href="622e10881f"><code>622e108</code></a> build: standardize usage of js_binary (<a href="https://github.com/angular/angular/tree/HEAD/packages/common/issues/62860">#62860</a>)</li> <li><a href="2b0f3fc7cb"><code>2b0f3fc</code></a> build: remove all usages of <code>@bazel/runfiles</code> (<a href="https://github.com/angular/angular/tree/HEAD/packages/common/issues/62805">#62805</a>)</li> <li><a href="15670d8417"><code>15670d8</code></a> fix(http): propagate plain errors when parsing fails (<a href="https://github.com/angular/angular/tree/HEAD/packages/common/issues/62765">#62765</a>)</li> <li><a href="b388f1e518"><code>b388f1e</code></a> build: remove all usages of the interop_deps attr for ts_project and ng_proje...</li> <li><a href="1e9bfe54b1"><code>1e9bfe5</code></a> build: migrate to new toolchain usage for api goldens (<a href="https://github.com/angular/angular/tree/HEAD/packages/common/issues/62688">#62688</a>)</li> <li><a href="276836ee73"><code>276836e</code></a> fix(http): do not display warnings <code>Angular detected that a </code>HttpClient` requ...</li> <li>Additional commits viewable in <a href="https://github.com/angular/angular/commits/20.1.4/packages/common">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
web_embedding
This directory contains examples of how to embed Flutter in web apps (without iframes):
- element_embedding_demo: Modifies the index.html of a flutter app so it is
launched in a custom
hostElement. This is the most basic embedding example. - ng-flutter: A simple Angular app (and component) that replicates the above example, but in an Angular style.
Check the README.md of each example for more details on how to run it, and the
"Points of Interest" it may contain.
Community Contributions
Members of the community have graciously ported and contributed the following examples of Flutter Web embedding into other web frameworks:
| Author | Host Framework | Code |
|---|---|---|
| @p-mazhnik | React JS | p-mazhnik/flutter-embedding cra-flutter |
| @p-mazhnik | React Native | p-mazhnik/flutter-embedding expo-flutter |
(All contributions are welcome! Please, create an issue or open a PR to let us know how you've embedded a Flutter Web app with your favorite web framework (Vue? Svelte? Ember? Aurelia? jQuery? MooTools? Prototype?), so it can be added to the table above!)