mirror of
https://github.com/flutter/samples.git
synced 2026-03-22 04:17:50 +00:00
Bumps [@angular-devkit/build-angular](https://github.com/angular/angular-cli) from 20.3.15 to 21.1.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/angular/angular-cli/releases"><code>@angular-devkit/build-angular</code>'s releases</a>.</em></p> <blockquote> <h2>21.1.2</h2> <h3><code>@angular-devkit/schematics-cli</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="e7458c81d6"><img src="https://img.shields.io/badge/e7458c81d-fix-green" alt="fix - e7458c81d" /></a></td> <td>Add boolean type inference for 'true' and 'false' string values in argument parsing</td> </tr> </tbody> </table> <h3><code>@angular-devkit/architect</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="d66f1fe647"><img src="https://img.shields.io/badge/d66f1fe64-fix-green" alt="fix - d66f1fe64" /></a></td> <td>Add boolean type inference for 'true' and 'false' string values in argument parsing</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="80911af673"><img src="https://img.shields.io/badge/80911af67-fix-green" alt="fix - 80911af67" /></a></td> <td>loosen Vitest dependency checks when runnerConfig is used</td> </tr> <tr> <td><a href="2d30639d3c"><img src="https://img.shields.io/badge/2d30639d3-fix-green" alt="fix - 2d30639d3" /></a></td> <td>support merging coverage thresholds with Vitest runnerConfig</td> </tr> </tbody> </table> <h2>21.1.1</h2> <h3><code>@schematics/angular</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="9da6d8fa76"><img src="https://img.shields.io/badge/9da6d8fa7-fix-green" alt="fix - 9da6d8fa7" /></a></td> <td>correct vscode MCP configuration for new projects</td> </tr> <tr> <td><a href="361758c75c"><img src="https://img.shields.io/badge/361758c75-fix-green" alt="fix - 361758c75" /></a></td> <td>remove special characters from jasmine-vitest report filename</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="151b69587d"><img src="https://img.shields.io/badge/151b69587-fix-green" alt="fix - 151b69587" /></a></td> <td>Remove nonexistent link from MCP response</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="1b7e3307af"><img src="https://img.shields.io/badge/1b7e3307a-fix-green" alt="fix - 1b7e3307a" /></a></td> <td>allow application assets in workspace root</td> </tr> <tr> <td><a href="d1e596dc53"><img src="https://img.shields.io/badge/d1e596dc5-fix-green" alt="fix - d1e596dc5" /></a></td> <td>prevent incorrect catch binding removal in downleveled for-await</td> </tr> <tr> <td><a href="98ef0981a2"><img src="https://img.shields.io/badge/98ef0981a-fix-green" alt="fix - 98ef0981a" /></a></td> <td>update undici to v7.18.2</td> </tr> </tbody> </table> <h2>21.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="36cf3afb48"><img src="https://img.shields.io/badge/36cf3afb4-feat-blue" alt="feat - 36cf3afb4" /></a></td> <td>add browserMode option to jasmine-vitest schematic</td> </tr> <tr> <td><a href="e71a72ffdc"><img src="https://img.shields.io/badge/e71a72ffd-feat-blue" alt="feat - e71a72ffd" /></a></td> <td>generate detailed migration report for <code>refactor-jasmine-vitest</code></td> </tr> <tr> <td><a href="18cf6c51b7"><img src="https://img.shields.io/badge/18cf6c51b-fix-green" alt="fix - 18cf6c51b" /></a></td> <td>add MCP configuration file to new workspaces</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="772e6efe7a"><img src="https://img.shields.io/badge/772e6efe7-feat-blue" alt="feat - 772e6efe7" /></a></td> <td>add 'test' and 'e2e' MCP tools</td> </tr> <tr> <td><a href="8efb863184"><img src="https://img.shields.io/badge/8efb86318-feat-blue" alt="feat - 8efb86318" /></a></td> <td>Add "all" as an experimental tool group</td> </tr> <tr> <td><a href="c3c9ac5067"><img src="https://img.shields.io/badge/c3c9ac506-feat-blue" alt="feat - c3c9ac506" /></a></td> <td>Add MCP tools for building and running devservers</td> </tr> <tr> <td><a href="d635a6c633"><img src="https://img.shields.io/badge/d635a6c63-feat-blue" alt="feat - d635a6c63" /></a></td> <td>add signal forms lessons</td> </tr> <tr> <td><a href="d8b76e93d3"><img src="https://img.shields.io/badge/d8b76e93d-fix-green" alt="fix - d8b76e93d" /></a></td> <td>correctly handle yarn classic tag manifest fetching</td> </tr> <tr> <td><a href="7ab5c0b0a1"><img src="https://img.shields.io/badge/7ab5c0b0a-fix-green" alt="fix - 7ab5c0b0a" /></a></td> <td>correctly spawn package managers on Windows in new abstraction</td> </tr> <tr> <td><a href="3480966233"><img src="https://img.shields.io/badge/348096623-fix-green" alt="fix - 348096623" /></a></td> <td>enhance list_projects MCP tool file system traversal and symlink handling</td> </tr> <tr> <td><a href="316fca8626"><img src="https://img.shields.io/badge/316fca862-fix-green" alt="fix - 316fca862" /></a></td> <td>handle array output from npm view in manifest parser</td> </tr> </tbody> </table> <!-- raw HTML omitted --> </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-devkit/build-angular</code>'s changelog</a>.</em></p> <blockquote> <h1>21.1.2 (2026-01-28)</h1> <h3><code>@angular-devkit/schematics-cli</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="e7458c81d6">e7458c81d</a></td> <td>fix</td> <td>Add boolean type inference for 'true' and 'false' string values in argument parsing</td> </tr> </tbody> </table> <h3><code>@angular-devkit/architect</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="d66f1fe647">d66f1fe64</a></td> <td>fix</td> <td>Add boolean type inference for 'true' and 'false' string values in argument parsing</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="80911af673">80911af67</a></td> <td>fix</td> <td>loosen Vitest dependency checks when runnerConfig is used</td> </tr> <tr> <td><a href="2d30639d3c">2d30639d3</a></td> <td>fix</td> <td>support merging coverage thresholds with Vitest runnerConfig</td> </tr> </tbody> </table> <!-- raw HTML omitted --> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h1>21.1.1 (2026-01-21)</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="151b69587d">151b69587</a></td> <td>fix</td> <td>Remove nonexistent link from MCP response</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="9da6d8fa76">9da6d8fa7</a></td> <td>fix</td> <td>correct vscode MCP configuration for new projects</td> </tr> <tr> <td><a href="361758c75c">361758c75</a></td> <td>fix</td> <td>remove special characters from jasmine-vitest report filename</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="1b7e3307af">1b7e3307a</a></td> <td>fix</td> <td>allow application assets in workspace root</td> </tr> <tr> <td><a href="d1e596dc53">d1e596dc5</a></td> <td>fix</td> <td>prevent incorrect catch binding removal in downleveled for-await</td> </tr> <tr> <td><a href="98ef0981a2">98ef0981a</a></td> <td>fix</td> <td>update undici to v7.18.2</td> </tr> </tbody> </table> <!-- raw HTML omitted --> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="702d7170ea"><code>702d717</code></a> release: cut the v21.1.2 release</li> <li><a href="d66f1fe647"><code>d66f1fe</code></a> fix(<code>@angular-devkit/architect</code>): Add boolean type inference for 'true' and 'fa...</li> <li><a href="e7458c81d6"><code>e7458c8</code></a> fix(<code>@angular-devkit/schematics-cli</code>): Add boolean type inference for 'true' an...</li> <li><a href="e974e404e5"><code>e974e40</code></a> build: lock file maintenance</li> <li><a href="2d30639d3c"><code>2d30639</code></a> fix(<code>@angular/build</code>): support merging coverage thresholds with Vitest runnerCo...</li> <li><a href="80911af673"><code>80911af</code></a> fix(<code>@angular/build</code>): loosen Vitest dependency checks when runnerConfig is used</li> <li><a href="7cf1d3b8eb"><code>7cf1d3b</code></a> build: update cross-repo angular dependencies</li> <li><a href="165e7d666e"><code>165e7d6</code></a> build: update all github actions</li> <li><a href="8e7f86be91"><code>8e7f86b</code></a> build: update bazel dependencies</li> <li><a href="3206b8b11c"><code>3206b8b</code></a> build: update cross-repo angular dependencies</li> <li>Additional commits viewable in <a href="https://github.com/angular/angular-cli/compare/v20.3.15...v21.1.2">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`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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!)