1
0
mirror of https://github.com/flutter/samples.git synced 2026-03-21 20:08:16 +00:00
Files
samples/web_embedding
dependabot[bot] 89ebdc24c8 Bump @angular/cdk from 20.2.14 to 21.1.2 in /web_embedding/ng-flutter (#2792)
Bumps [@angular/cdk](https://github.com/angular/components) from 20.2.14
to 21.1.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/angular/components/releases"><code>@​angular/cdk</code>'s
releases</a>.</em></p>
<blockquote>
<h2>21.1.2</h2>
<h3>material</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="bb69f3ca7d"><img
src="https://img.shields.io/badge/bb69f3ca7d-fix-green" alt="fix -
bb69f3ca7d" /></a></td>
<td><strong>sidenav:</strong> incorrectly trapping focus in some cases
(<a
href="https://redirect.github.com/angular/components/issues/32699">#32699</a>)</td>
</tr>
<tr>
<td><a
href="7824225a5b"><img
src="https://img.shields.io/badge/7824225a5b-fix-green" alt="fix -
7824225a5b" /></a></td>
<td><strong>timepicker:</strong> make it easier to style timepicker
panel (<a
href="https://redirect.github.com/angular/components/issues/32711">#32711</a>)</td>
</tr>
</tbody>
</table>
<h3>cdk</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="9b54cb20da"><img
src="https://img.shields.io/badge/9b54cb20da-fix-green" alt="fix -
9b54cb20da" /></a></td>
<td><strong>listbox:</strong> incorrect wording in error message (<a
href="https://redirect.github.com/angular/components/issues/32697">#32697</a>)</td>
</tr>
<tr>
<td><a
href="4b8fc71c08"><img
src="https://img.shields.io/badge/4b8fc71c08-fix-green" alt="fix -
4b8fc71c08" /></a></td>
<td><strong>table:</strong> throw when multiple row templates are used
with virtual scrolling (<a
href="https://redirect.github.com/angular/components/issues/32682">#32682</a>)</td>
</tr>
</tbody>
</table>
<h3>aria</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="1d9918a9de"><img
src="https://img.shields.io/badge/1d9918a9de-fix-green" alt="fix -
1d9918a9de" /></a></td>
<td><strong>combobox:</strong> Add announcement for empty results to
autocomplete demo (<a
href="https://redirect.github.com/angular/components/issues/32707">#32707</a>)</td>
</tr>
<tr>
<td><a
href="81b407d353"><img
src="https://img.shields.io/badge/81b407d353-perf-orange" alt="perf -
81b407d353" /></a></td>
<td><strong>grid:</strong> avoid excessive change detections (<a
href="https://redirect.github.com/angular/components/issues/32705">#32705</a>)</td>
</tr>
</tbody>
</table>
<h2>21.1.1</h2>
<h3>aria</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="d24f099179"><img
src="https://img.shields.io/badge/d24f099179-fix-green" alt="fix -
d24f099179" /></a></td>
<td><strong>grid:</strong> unit tests for grid pattern (<a
href="https://redirect.github.com/angular/components/issues/32633">#32633</a>)</td>
</tr>
</tbody>
</table>
<h3>multiple</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="6b5466afb2"><img
src="https://img.shields.io/badge/6b5466afb2-fix-green" alt="fix -
6b5466afb2" /></a></td>
<td>incorrect paths in declaration files for aria</td>
</tr>
<tr>
<td><a
href="028f89b4d8"><img
src="https://img.shields.io/badge/028f89b4d8-fix-green" alt="fix -
028f89b4d8" /></a></td>
<td>resolve sass if function deprecation warnings (<a
href="https://redirect.github.com/angular/components/issues/32674">#32674</a>)</td>
</tr>
</tbody>
</table>
<h2>21.1.0</h2>
<h3>material-experimental</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="29e2c46333"><img
src="https://img.shields.io/badge/29e2c4633-fix-green" alt="fix -
29e2c4633" /></a></td>
<td><strong>column-resize:</strong> add null checks for overlay (<a
href="https://redirect.github.com/angular/components/issues/32259">#32259</a>)</td>
</tr>
<tr>
<td><a
href="c40f42821e"><img
src="https://img.shields.io/badge/c40f42821-fix-green" alt="fix -
c40f42821" /></a></td>
<td><strong>column-resize:</strong> fix m2 colors (<a
href="https://redirect.github.com/angular/components/issues/32388">#32388</a>)</td>
</tr>
</tbody>
</table>
<h3>material</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="ef1355914a"><img
src="https://img.shields.io/badge/ef1355914-feat-blue" alt="feat -
ef1355914" /></a></td>
<td><strong>schematics:</strong> add preconnect links for Google Fonts
in index.html (<a
href="https://redirect.github.com/angular/components/issues/32238">#32238</a>)</td>
</tr>
<tr>
<td><a
href="6b9decb77a"><img
src="https://img.shields.io/badge/6b9decb77-feat-blue" alt="feat -
6b9decb77" /></a></td>
<td><strong>stepper:</strong> add a prefix section to the horizontal
stepper header (<a
href="https://redirect.github.com/angular/components/issues/32184">#32184</a>)</td>
</tr>
<tr>
<td><a
href="5db8dca18b"><img
src="https://img.shields.io/badge/5db8dca18-fix-green" alt="fix -
5db8dca18" /></a></td>
<td><strong>datepicker:</strong> error if some methods are called too
early. (<a
href="https://redirect.github.com/angular/components/issues/32630">#32630</a>)</td>
</tr>
<tr>
<td><a
href="7b2627de2a"><img
src="https://img.shields.io/badge/7b2627de2-fix-green" alt="fix -
7b2627de2" /></a></td>
<td><strong>menu:</strong> Do not open the menu when trigger is
aria-disabled (properly handle disabledInteractive) (<a
href="https://redirect.github.com/angular/components/issues/32601">#32601</a>)</td>
</tr>
<tr>
<td><a
href="eba6ee844b"><img
src="https://img.shields.io/badge/eba6ee844-fix-green" alt="fix -
eba6ee844" /></a></td>
<td><strong>radio:</strong> allow aria attributes to be reset (<a
href="https://redirect.github.com/angular/components/issues/32613">#32613</a>)</td>
</tr>
<tr>
<td><a
href="fb1b66be96"><img
src="https://img.shields.io/badge/fb1b66be9-fix-green" alt="fix -
fb1b66be9" /></a></td>
<td><strong>slider:</strong> add missing closing parenthesis in tick
mark transform (<a
href="https://redirect.github.com/angular/components/issues/32580">#32580</a>)</td>
</tr>
</tbody>
</table>
<h3>cdk</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="a20aeabbec"><img
src="https://img.shields.io/badge/a20aeabbe-feat-blue" alt="feat -
a20aeabbe" /></a></td>
<td><strong>a11y:</strong> allow safe HTML to be passed to live
announcer (<a
href="https://redirect.github.com/angular/components/issues/32386">#32386</a>)</td>
</tr>
<tr>
<td><a
href="75b373bbcf"><img
src="https://img.shields.io/badge/75b373bbc-feat-blue" alt="feat -
75b373bbc" /></a></td>
<td><strong>a11y:</strong> allow safe HTML to be passed to live
announcer (<a
href="https://redirect.github.com/angular/components/issues/32412">#32412</a>)</td>
</tr>
<tr>
<td><a
href="439d1f92a8"><img
src="https://img.shields.io/badge/439d1f92a-feat-blue" alt="feat -
439d1f92a" /></a></td>
<td><strong>table:</strong> add virtual scrolling support</td>
</tr>
<tr>
<td><a
href="67f213a351"><img
src="https://img.shields.io/badge/67f213a35-fix-green" alt="fix -
67f213a35" /></a></td>
<td><strong>a11y:</strong> add <code>@angular/platform-browser</code> to
peer dependencies (<a
href="https://redirect.github.com/angular/components/issues/32471">#32471</a>)</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/components/blob/main/CHANGELOG.md"><code>@​angular/cdk</code>'s
changelog</a>.</em></p>
<blockquote>
<h1>21.1.2 &quot;glass-bottle&quot; (2026-01-28)</h1>
<h3>aria</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="1d9918a9de">1d9918a9de</a></td>
<td>fix</td>
<td><strong>combobox:</strong> Add announcement for empty results to
autocomplete demo (<a
href="https://redirect.github.com/angular/components/pull/32707">#32707</a>)</td>
</tr>
<tr>
<td><a
href="81b407d353">81b407d353</a></td>
<td>perf</td>
<td><strong>grid:</strong> avoid excessive change detections (<a
href="https://redirect.github.com/angular/components/pull/32705">#32705</a>)</td>
</tr>
</tbody>
</table>
<h3>cdk</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="9b54cb20da">9b54cb20da</a></td>
<td>fix</td>
<td><strong>listbox:</strong> incorrect wording in error message (<a
href="https://redirect.github.com/angular/components/pull/32697">#32697</a>)</td>
</tr>
<tr>
<td><a
href="4b8fc71c08">4b8fc71c08</a></td>
<td>fix</td>
<td><strong>table:</strong> throw when multiple row templates are used
with virtual scrolling (<a
href="https://redirect.github.com/angular/components/pull/32682">#32682</a>)</td>
</tr>
</tbody>
</table>
<h3>material</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="bb69f3ca7d">bb69f3ca7d</a></td>
<td>fix</td>
<td><strong>sidenav:</strong> incorrectly trapping focus in some cases
(<a
href="https://redirect.github.com/angular/components/pull/32699">#32699</a>)</td>
</tr>
<tr>
<td><a
href="7824225a5b">7824225a5b</a></td>
<td>fix</td>
<td><strong>timepicker:</strong> make it easier to style timepicker
panel (<a
href="https://redirect.github.com/angular/components/pull/32711">#32711</a>)</td>
</tr>
</tbody>
</table>
<!-- raw HTML omitted -->
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>21.2.0-next.1 &quot;plastic-ant&quot; (2026-01-21)</h1>
<h3>aria</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="ec384a37ab">ec384a37ab</a></td>
<td>fix</td>
<td><strong>grid:</strong> unit tests for grid pattern (<a
href="https://redirect.github.com/angular/components/pull/32633">#32633</a>)</td>
</tr>
</tbody>
</table>
<h3>cdk</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="e397ecbcfa">e397ecbcfa</a></td>
<td>fix</td>
<td><strong>table:</strong> remove string-based DI tokens (<a
href="https://redirect.github.com/angular/components/pull/32677">#32677</a>)</td>
</tr>
</tbody>
</table>
<h3>multiple</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="3612ef6094">3612ef6094</a></td>
<td>fix</td>
<td>incorrect paths in declaration files for aria</td>
</tr>
<tr>
<td><a
href="f3357c1dff">f3357c1dff</a></td>
<td>fix</td>
<td>resolve sass if function deprecation warnings (<a
href="https://redirect.github.com/angular/components/pull/32674">#32674</a>)</td>
</tr>
</tbody>
</table>
<!-- raw HTML omitted -->
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>21.1.1 &quot;plastic-bear&quot; (2026-01-21)</h1>
<h3>aria</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="d24f099179">d24f099179</a></td>
<td>fix</td>
<td><strong>grid:</strong> unit tests for grid pattern (<a
href="https://redirect.github.com/angular/components/pull/32633">#32633</a>)</td>
</tr>
</tbody>
</table>
<h3>multiple</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="6b5466afb2">6b5466afb2</a></td>
<td>fix</td>
<td>incorrect paths in declaration files for aria</td>
</tr>
<tr>
<td><a
href="028f89b4d8">028f89b4d8</a></td>
<td>fix</td>
<td>resolve sass if function deprecation warnings (<a
href="https://redirect.github.com/angular/components/pull/32674">#32674</a>)</td>
</tr>
</tbody>
</table>
<!-- raw HTML omitted -->
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="d1f9917b39"><code>d1f9917</code></a>
release: cut the v21.1.2 release</li>
<li><a
href="a1d959bcea"><code>a1d959b</code></a>
docs(material/sidenav): fix typo in drawer comment (<a
href="https://redirect.github.com/angular/components/issues/32702">#32702</a>)</li>
<li><a
href="33f9f99845"><code>33f9f99</code></a>
build: lock file maintenance (<a
href="https://redirect.github.com/angular/components/issues/32676">#32676</a>)</li>
<li><a
href="45645482da"><code>4564548</code></a>
build: update pnpm to v10.28.2 (<a
href="https://redirect.github.com/angular/components/issues/32681">#32681</a>)</li>
<li><a
href="ad0aeaae35"><code>ad0aeaa</code></a>
[aria/multiple] Add to and clean up input validation across aria
components (...</li>
<li><a
href="1d9918a9de"><code>1d9918a</code></a>
fix(aria/combobox): Add announcement for empty results to autocomplete
demo (...</li>
<li><a
href="7824225a5b"><code>7824225</code></a>
fix(material/timepicker): make it easier to style timepicker panel (<a
href="https://redirect.github.com/angular/components/issues/32711">#32711</a>)</li>
<li><a
href="81b407d353"><code>81b407d</code></a>
perf(aria/grid): avoid excessive change detections (<a
href="https://redirect.github.com/angular/components/issues/32705">#32705</a>)</li>
<li><a
href="bb69f3ca7d"><code>bb69f3c</code></a>
fix(material/sidenav): incorrectly trapping focus in some cases (<a
href="https://redirect.github.com/angular/components/issues/32699">#32699</a>)</li>
<li><a
href="9b54cb20da"><code>9b54cb2</code></a>
fix(cdk/listbox): incorrect wording in error message (<a
href="https://redirect.github.com/angular/components/issues/32697">#32697</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/angular/components/compare/20.2.14...v21.1.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@angular/cdk&package-manager=npm_and_yarn&previous-version=20.2.14&new-version=21.1.2)](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>
2026-02-04 10:27:03 -08:00
..

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!)