mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Bumps [@angular/cli](https://github.com/angular/angular-cli) from 19.0.7 to 20.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/angular/angular-cli/releases"><code>@angular/cli</code>'s releases</a>.</em></p> <blockquote> <h2>20.1.0</h2> <h3><code>@schematics/angular</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="1c19e0dcd4"><img src="https://img.shields.io/badge/1c19e0dcd-feat-blue" alt="feat - 1c19e0dcd" /></a></td> <td>use signal in app component</td> </tr> </tbody> </table> <h3><code>@angular/cli</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="dc45c186ec"><img src="https://img.shields.io/badge/dc45c186e-feat-blue" alt="feat - dc45c186e" /></a></td> <td>add initial MCP server implementation</td> </tr> </tbody> </table> <h3><code>@angular-devkit/build-angular</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="49a09737d5"><img src="https://img.shields.io/badge/49a09737d-feat-blue" alt="feat - 49a09737d" /></a></td> <td>provide partial custom postcss configuration support</td> </tr> </tbody> </table> <h3><code>@angular/build</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="1159cf0810"><img src="https://img.shields.io/badge/1159cf081-feat-blue" alt="feat - 1159cf081" /></a></td> <td>add code coverage reporters option for unit-test</td> </tr> <tr> <td><a href="8f305ef0ba"><img src="https://img.shields.io/badge/8f305ef0b-feat-blue" alt="feat - 8f305ef0b" /></a></td> <td>add dataurl, base64 loaders</td> </tr> <tr> <td><a href="adfeee0a4c"><img src="https://img.shields.io/badge/adfeee0a4-fix-green" alt="fix - adfeee0a4" /></a></td> <td>adjust coverage includes/excludes for unit-test vitest runner</td> </tr> <tr> <td><a href="c19cd2985c"><img src="https://img.shields.io/badge/c19cd2985-fix-green" alt="fix - c19cd2985" /></a></td> <td>coverage reporter option</td> </tr> <tr> <td><a href="8879716cac"><img src="https://img.shields.io/badge/8879716ca-fix-green" alt="fix - 8879716ca" /></a></td> <td>expose unit test and karma builder API</td> </tr> <tr> <td><a href="a415a4999f"><img src="https://img.shields.io/badge/a415a4999-fix-green" alt="fix - a415a4999" /></a></td> <td>improve default coverage reporter handling for vitest</td> </tr> <tr> <td><a href="e0de8680d1"><img src="https://img.shields.io/badge/e0de8680d-fix-green" alt="fix - e0de8680d" /></a></td> <td>inject zone.js/testing before karma builder execution</td> </tr> <tr> <td><a href="2672f6ec17"><img src="https://img.shields.io/badge/2672f6ec1-fix-green" alt="fix - 2672f6ec1" /></a></td> <td>json and json-summary as vitest coverage reporters</td> </tr> <tr> <td><a href="b67fdfd6bc"><img src="https://img.shields.io/badge/b67fdfd6b-fix-green" alt="fix - b67fdfd6b" /></a></td> <td>resolve "Controller is already closed" error in Karma</td> </tr> <tr> <td><a href="2784883ecf"><img src="https://img.shields.io/badge/2784883ec-fix-green" alt="fix - 2784883ec" /></a></td> <td>support extra test setup files with unit-test vitest runner</td> </tr> <tr> <td><a href="f177f5508a"><img src="https://img.shields.io/badge/f177f5508-fix-green" alt="fix - f177f5508" /></a></td> <td>support injecting global styles into vitest unit-tests</td> </tr> <tr> <td><a href="130c650146"><img src="https://img.shields.io/badge/130c65014-fix-green" alt="fix - 130c65014" /></a></td> <td>use an empty array as default value for vitest exclude</td> </tr> <tr> <td><a href="917af12aeb"><img src="https://img.shields.io/badge/917af12ae-fix-green" alt="fix - 917af12ae" /></a></td> <td>use date/time based output path for vitest unit-test</td> </tr> </tbody> </table> <h3><code>@angular/ssr</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="21b5852f12"><img src="https://img.shields.io/badge/21b5852f1-fix-green" alt="fix - 21b5852f1" /></a></td> <td>ensure <code>loadChildren</code> runs in correct injection context during route extraction</td> </tr> </tbody> </table> <h2>20.1.0-rc.0</h2> <h3><code>@angular-devkit/build-angular</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="f1d41b069d"><img src="https://img.shields.io/badge/f1d41b069-fix-green" alt="fix - f1d41b069" /></a></td> <td>remove unused <code>@vitejs/plugin-basic-ssl</code> dependency</td> </tr> </tbody> </table> <h3><code>@angular/build</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="73f57f3c9e"><img src="https://img.shields.io/badge/73f57f3c9-fix-green" alt="fix - 73f57f3c9" /></a></td> <td>proxy karma request from <code>/</code> to <code>/base</code></td> </tr> </tbody> </table> <h2>20.1.0-next.3</h2> <h3><code>@schematics/angular</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="4221a33cc7"><img src="https://img.shields.io/badge/4221a33cc-fix-green" alt="fix - 4221a33cc" /></a></td> <td>add missing prettier config</td> </tr> </tbody> </table> <h3><code>@angular/cli</code></h3> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/angular/angular-cli/blob/main/CHANGELOG.md"><code>@angular/cli</code>'s changelog</a>.</em></p> <blockquote> <h1>20.1.0 (2025-07-09)</h1> <h3><code>@angular/cli</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="dc45c186ec">dc45c186e</a></td> <td>feat</td> <td>add initial MCP server implementation</td> </tr> </tbody> </table> <h3><code>@schematics/angular</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="1c19e0dcd4">1c19e0dcd</a></td> <td>feat</td> <td>use signal in app component</td> </tr> </tbody> </table> <h3><code>@angular-devkit/build-angular</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="49a09737d5">49a09737d</a></td> <td>feat</td> <td>provide partial custom postcss configuration support</td> </tr> </tbody> </table> <h3><code>@angular/build</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="1159cf0810">1159cf081</a></td> <td>feat</td> <td>add code coverage reporters option for unit-test</td> </tr> <tr> <td><a href="8f305ef0ba">8f305ef0b</a></td> <td>feat</td> <td>add dataurl, base64 loaders</td> </tr> <tr> <td><a href="adfeee0a4c">adfeee0a4</a></td> <td>fix</td> <td>adjust coverage includes/excludes for unit-test vitest runner</td> </tr> <tr> <td><a href="c19cd2985c">c19cd2985</a></td> <td>fix</td> <td>coverage reporter option</td> </tr> <tr> <td><a href="8879716cac">8879716ca</a></td> <td>fix</td> <td>expose unit test and karma builder API</td> </tr> <tr> <td><a href="a415a4999f">a415a4999</a></td> <td>fix</td> <td>improve default coverage reporter handling for vitest</td> </tr> <tr> <td><a href="e0de8680d1">e0de8680d</a></td> <td>fix</td> <td>inject zone.js/testing before karma builder execution</td> </tr> <tr> <td><a href="2672f6ec17">2672f6ec1</a></td> <td>fix</td> <td>json and json-summary as vitest coverage reporters</td> </tr> <tr> <td><a href="b67fdfd6bc">b67fdfd6b</a></td> <td>fix</td> <td>resolve "Controller is already closed" error in Karma</td> </tr> <tr> <td><a href="2784883ecf">2784883ec</a></td> <td>fix</td> <td>support extra test setup files with unit-test vitest runner</td> </tr> <tr> <td><a href="f177f5508a">f177f5508</a></td> <td>fix</td> <td>support injecting global styles into vitest unit-tests</td> </tr> <tr> <td><a href="130c650146">130c65014</a></td> <td>fix</td> <td>use an empty array as default value for vitest exclude</td> </tr> <tr> <td><a href="917af12aeb">917af12ae</a></td> <td>fix</td> <td>use date/time based output path for vitest unit-test</td> </tr> </tbody> </table> <h3><code>@angular/ssr</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="21b5852f12">21b5852f1</a></td> <td>fix</td> <td>ensure <code>loadChildren</code> runs in correct injection context during route extraction</td> </tr> </tbody> </table> <h1>20.0.6 (2025-07-09)</h1> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="ed09cef09c"><code>ed09cef</code></a> release: cut the v20.1.0 release</li> <li><a href="bf6823db55"><code>bf6823d</code></a> build: update Angular versions for 20.1 stable</li> <li><a href="aea3ed808e"><code>aea3ed8</code></a> fix(<code>@angular/build</code>): exclude <code>@vitest/browser/context</code> from esbuild bundling</li> <li><a href="2784883ecf"><code>2784883</code></a> fix(<code>@angular/build</code>): support extra test setup files with unit-test vitest runner</li> <li><a href="ace8a3544b"><code>ace8a35</code></a> test: increase timeout for ssr dev server tests</li> <li><a href="b54a45bd3d"><code>b54a45b</code></a> refactor: reduce the number of builds done in output-path_spec</li> <li><a href="be89073b92"><code>be89073</code></a> test: Reduce default timeouts</li> <li><a href="4a791319d2"><code>4a79131</code></a> test: remove contents of <code>main.ts</code> from polyfill tests</li> <li><a href="67e481ba0a"><code>67e481b</code></a> test: reduce karma test flakes by using <code>clearContext</code> that is set in the bui...</li> <li><a href="f369d88653"><code>f369d88</code></a> build: change size to "medium" and "small"</li> <li>Additional commits viewable in <a href="https://github.com/angular/angular-cli/compare/19.0.7...20.1.0">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!)