mirror of
https://github.com/flutter/samples.git
synced 2026-03-22 04:17:50 +00:00
Bumps [@angular/platform-browser-dynamic](https://github.com/angular/angular/tree/HEAD/packages/platform-browser-dynamic) from 20.3.16 to 21.1.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/angular/angular/releases"><code>@angular/platform-browser-dynamic</code>'s releases</a>.</em></p> <blockquote> <h2>21.1.2</h2> <h3>forms</h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="9f99b14882"><img src="https://img.shields.io/badge/9f99b14882-fix-green" alt="fix - 9f99b14882" /></a></td> <td>only touch visible, interactive fields on submit</td> </tr> </tbody> </table> <h3>language-service</h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="c57b0355b5"><img src="https://img.shields.io/badge/c57b0355b5-fix-green" alt="fix - c57b0355b5" /></a></td> <td>Detect local project version on creation</td> </tr> </tbody> </table> <h3>router</h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="21ecdc036a"><img src="https://img.shields.io/badge/21ecdc036a-fix-green" alt="fix - 21ecdc036a" /></a></td> <td>Do not intercept reload events with Navigation integration</td> </tr> </tbody> </table> <h2>21.1.1</h2> <h3>compiler-cli</h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="0e1f1ed573"><img src="https://img.shields.io/badge/0e1f1ed573-fix-green" alt="fix - 0e1f1ed573" /></a></td> <td>drop .tsx extension for generated relative imports</td> </tr> </tbody> </table> <h3>core</h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="05adfcf8f2"><img src="https://img.shields.io/badge/05adfcf8f2-fix-green" alt="fix - 05adfcf8f2" /></a></td> <td>handle Set in class bindings</td> </tr> </tbody> </table> <h3>forms</h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="d89a80a970"><img src="https://img.shields.io/badge/d89a80a970-feat-blue" alt="feat - d89a80a970" /></a></td> <td>Ability to manually register a form field binding in signal forms</td> </tr> <tr> <td><a href="cb75f9ce85"><img src="https://img.shields.io/badge/cb75f9ce85-fix-green" alt="fix - cb75f9ce85" /></a></td> <td>fix control value syncing on touch</td> </tr> </tbody> </table> <h2>VSCode Extension: 21.1.1</h2> <ul> <li>fix(vscode-extension): add syntax highlighting for arrow functions (<a href="a649fc8f57">a649fc8f57</a>)</li> <li>fix(vscode-extension): add syntax highlighting for spread/rest expressions (<a href="8f16846dd9">8f16846dd9</a>)</li> </ul> <h2>VSCode Extension: 21.1.0</h2> <h2>21.1.0 (2026-01-12)</h2> <ul> <li>fix(vscode-extension): convert enum member kind in completions correctly (<a href="50674f8c28">50674f8c28</a>)</li> </ul> <h2>21.1.0</h2> <h3>common</h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="d8790972be"><img src="https://img.shields.io/badge/d8790972be-feat-blue" alt="feat - d8790972be" /></a></td> <td>Add custom transformations for Cloudflare and Cloudinary image loaders</td> </tr> <tr> <td><a href="a6b8cb68af"><img src="https://img.shields.io/badge/a6b8cb68af-feat-blue" alt="feat - a6b8cb68af" /></a></td> <td>support custom transformations in ImageKit and Imgix loaders</td> </tr> </tbody> </table> <h3>compiler</h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="640693da8e"><img src="https://img.shields.io/badge/640693da8e-feat-blue" alt="feat - 640693da8e" /></a></td> <td>Add support for multiple swich cases matching</td> </tr> <tr> <td><a href="0ad3adc7c6"><img src="https://img.shields.io/badge/0ad3adc7c6-fix-green" alt="fix - 0ad3adc7c6" /></a></td> <td>Support empty cases</td> </tr> </tbody> </table> <h3>core</h3> <!-- raw HTML omitted --> </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/platform-browser-dynamic</code>'s changelog</a>.</em></p> <blockquote> <h1>21.1.2 (2026-01-28)</h1> <h3>forms</h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="9f99b14882">9f99b14882</a></td> <td>fix</td> <td>only touch visible, interactive fields on submit</td> </tr> </tbody> </table> <h3>language-service</h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="c57b0355b5">c57b0355b5</a></td> <td>fix</td> <td>Detect local project version on creation</td> </tr> </tbody> </table> <h3>router</h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="21ecdc036a">21ecdc036a</a></td> <td>fix</td> <td>Do not intercept reload events with Navigation integration</td> </tr> </tbody> </table> <!-- raw HTML omitted --> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h1>21.2.0-next.0 (2026-01-22)</h1> <h3>compiler</h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="72534e2a34">72534e2a34</a></td> <td>feat</td> <td>Add support for the <code>instanceof</code> binary operator</td> </tr> <tr> <td><a href="04ba09a8d9">04ba09a8d9</a></td> <td>feat</td> <td>support <code>AstVisitor.visitEmptyExpr()</code></td> </tr> <tr> <td><a href="ce80136e7b">ce80136e7b</a></td> <td>fix</td> <td>optimize away unnecessary restore/reset view calls</td> </tr> <tr> <td><a href="3242a61bae">3242a61bae</a></td> <td>fix</td> <td>variable counter visiting some expressions twice</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="473dd3e1cb">473dd3e1cb</a></td> <td>fix</td> <td>attach source spans to object literal keys in TCB</td> </tr> <tr> <td><a href="a904d9f77b">a904d9f77b</a></td> <td>fix</td> <td>support nested component declaration</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="92d2498910">92d2498910</a></td> <td>feat</td> <td>add host node to DeferBlockData (<a href="https://redirect.github.com/angular/angular/pull/66546">#66546</a>)</td> </tr> <tr> <td><a href="1ba9b7ac50">1ba9b7ac50</a></td> <td>feat</td> <td>resource composition via snapshots</td> </tr> <tr> <td><a href="d9923b72a2">d9923b72a2</a></td> <td>feat</td> <td>support arrow functions in expressions</td> </tr> <tr> <td><a href="ed78fa05c7">ed78fa05c7</a></td> <td>fix</td> <td>Remove note to skip arrow functions in best practices</td> </tr> </tbody> </table> <h3>forms</h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="95c386469c">95c386469c</a></td> <td>feat</td> <td>Add passing focus options to form field</td> </tr> </tbody> </table> <h3>language-server</h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="ebc90c26f5">ebc90c26f5</a></td> <td>feat</td> <td>Add completions and hover info for inline styles</td> </tr> <tr> <td><a href="26fd0839c3">26fd0839c3</a></td> <td>feat</td> <td>Add folding range support for inline styles</td> </tr> <tr> <td><a href="573aadef7e">573aadef7e</a></td> <td>feat</td> <td>Add quick info for inline styles</td> </tr> </tbody> </table> <!-- raw HTML omitted --> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="d3f67f6ca8"><code>d3f67f6</code></a> refactor(core): mark <code>VERSION</code> as <code>@__PURE__</code> for better tree-shaking</li> <li><a href="26fed34e0e"><code>26fed34</code></a> build: format md files</li> <li><a href="c3576506b3"><code>c357650</code></a> refactor(core): Update tests for zoneless by default (<a href="https://github.com/angular/angular/tree/HEAD/packages/platform-browser-dynamic/issues/63668">#63668</a>)</li> <li><a href="2fcafb65c5"><code>2fcafb6</code></a> build: rename defaults2.bzl to defaults.bzl (<a href="https://github.com/angular/angular/tree/HEAD/packages/platform-browser-dynamic/issues/63383">#63383</a>)</li> <li>See full diff in <a href="https://github.com/angular/angular/commits/v21.1.2/packages/platform-browser-dynamic">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!)