1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00
dependabot[bot] 5a79c1595c Bump @angular/cdk from 19.2.19 to 20.1.0 in /web_embedding/ng-flutter (#2694)
Bumps [@angular/cdk](https://github.com/angular/components) from 19.2.19 to 20.1.0.
<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>20.1.0</h2>
<h3>cdk-experimental</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="4f9ab216c1"><img src="https://img.shields.io/badge/4f9ab216c1-feat-blue" alt="feat - 4f9ab216c1" /></a></td>
<td><strong>accordion:</strong> add accordion directives, example, and tests (<a href="https://redirect.github.com/angular/components/issues/31134">#31134</a>)</td>
</tr>
<tr>
<td><a href="3704b7e32f"><img src="https://img.shields.io/badge/3704b7e32f-feat-blue" alt="feat - 3704b7e32f" /></a></td>
<td><strong>radio:</strong> add radio demo to dev-app (<a href="https://redirect.github.com/angular/components/issues/31180">#31180</a>)</td>
</tr>
<tr>
<td><a href="50c3e0e12d"><img src="https://img.shields.io/badge/50c3e0e12d-feat-blue" alt="feat - 50c3e0e12d" /></a></td>
<td><strong>radio:</strong> create radio group and button directives (<a href="https://redirect.github.com/angular/components/issues/31050">#31050</a>)</td>
</tr>
<tr>
<td><a href="cdc0dab261"><img src="https://img.shields.io/badge/cdc0dab261-feat-blue" alt="feat - cdc0dab261" /></a></td>
<td><strong>tabs:</strong> add setDefaultState and unit tests, refactor the content children strategy (<a href="https://redirect.github.com/angular/components/issues/31374">#31374</a>)</td>
</tr>
<tr>
<td><a href="97d60c5378"><img src="https://img.shields.io/badge/97d60c5378-feat-blue" alt="feat - 97d60c5378" /></a></td>
<td><strong>tree:</strong> add tree directives, example, and tests (<a href="https://redirect.github.com/angular/components/issues/31350">#31350</a>)</td>
</tr>
<tr>
<td><a href="ff0f6c61b5"><img src="https://img.shields.io/badge/ff0f6c61b5-feat-blue" alt="feat - ff0f6c61b5" /></a></td>
<td><strong>ui-patterns:</strong> accordion (<a href="https://redirect.github.com/angular/components/issues/31034">#31034</a>)</td>
</tr>
<tr>
<td><a href="c5b2f0ac6d"><img src="https://img.shields.io/badge/c5b2f0ac6d-feat-blue" alt="feat - c5b2f0ac6d" /></a></td>
<td><strong>ui-patterns:</strong> create grid navigation behavior (<a href="https://redirect.github.com/angular/components/issues/31290">#31290</a>)</td>
</tr>
<tr>
<td><a href="ce145fa9a3"><img src="https://img.shields.io/badge/ce145fa9a3-feat-blue" alt="feat - ce145fa9a3" /></a></td>
<td><strong>ui-patterns:</strong> create the grid focus behavior (<a href="https://redirect.github.com/angular/components/issues/31055">#31055</a>)</td>
</tr>
<tr>
<td><a href="9f249d0a25"><img src="https://img.shields.io/badge/9f249d0a25-feat-blue" alt="feat - 9f249d0a25" /></a></td>
<td><strong>ui-patterns:</strong> radio button and group (<a href="https://redirect.github.com/angular/components/issues/31016">#31016</a>)</td>
</tr>
<tr>
<td><a href="70841dbb5b"><img src="https://img.shields.io/badge/70841dbb5b-feat-blue" alt="feat - 70841dbb5b" /></a></td>
<td><strong>ui-patterns:</strong> tree (<a href="https://redirect.github.com/angular/components/issues/31308">#31308</a>)</td>
</tr>
<tr>
<td><a href="06d7384a23"><img src="https://img.shields.io/badge/06d7384a23-fix-green" alt="fix - 06d7384a23" /></a></td>
<td><strong>accordion:</strong> fix disabled trigger button can't be focused when skipDisabled=false (<a href="https://redirect.github.com/angular/components/issues/31379">#31379</a>)</td>
</tr>
<tr>
<td><a href="9a856ad559"><img src="https://img.shields.io/badge/9a856ad559-fix-green" alt="fix - 9a856ad559" /></a></td>
<td><strong>tabs:</strong> fix tabs example styles (<a href="https://redirect.github.com/angular/components/issues/31382">#31382</a>)</td>
</tr>
<tr>
<td><a href="8a091a7ea8"><img src="https://img.shields.io/badge/8a091a7ea8-fix-green" alt="fix - 8a091a7ea8" /></a></td>
<td><strong>tabs:</strong> set tabpanel tabindex to -1 if hidden (<a href="https://redirect.github.com/angular/components/issues/31401">#31401</a>)</td>
</tr>
<tr>
<td><a href="ea700e6d81"><img src="https://img.shields.io/badge/ea700e6d81-fix-green" alt="fix - ea700e6d81" /></a></td>
<td><strong>ui-patterns:</strong> add guardrails to selectOne for edge cases (<a href="https://redirect.github.com/angular/components/issues/31402">#31402</a>)</td>
</tr>
</tbody>
</table>
<h3>material</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="243845460d"><img src="https://img.shields.io/badge/243845460d-feat-blue" alt="feat - 243845460d" /></a></td>
<td><strong>chips:</strong> add (optional) edit icon to input chips (<a href="https://redirect.github.com/angular/components/issues/31041">#31041</a>)</td>
</tr>
<tr>
<td><a href="9e942b4ba2"><img src="https://img.shields.io/badge/9e942b4ba2-feat-blue" alt="feat - 9e942b4ba2" /></a></td>
<td><strong>menu:</strong> add support for context menu</td>
</tr>
<tr>
<td><a href="4de7c0fb2d"><img src="https://img.shields.io/badge/4de7c0fb2d-feat-blue" alt="feat - 4de7c0fb2d" /></a></td>
<td><strong>testing:</strong> Extend Angular harness testing functionality  (<a href="https://redirect.github.com/angular/components/issues/30960">#30960</a>)</td>
</tr>
<tr>
<td><a href="512433b6d1"><img src="https://img.shields.io/badge/512433b6d1-fix-green" alt="fix - 512433b6d1" /></a></td>
<td><strong>badge:</strong> remove badge opacity color mix (<a href="https://redirect.github.com/angular/components/issues/31213">#31213</a>)</td>
</tr>
<tr>
<td><a href="92a8253e28"><img src="https://img.shields.io/badge/92a8253e28-fix-green" alt="fix - 92a8253e28" /></a></td>
<td><strong>badge:</strong> use system disabled states (<a href="https://redirect.github.com/angular/components/issues/31266">#31266</a>)</td>
</tr>
<tr>
<td><a href="a7150d42cf"><img src="https://img.shields.io/badge/a7150d42cf-fix-green" alt="fix - a7150d42cf" /></a></td>
<td><strong>button-toggle:</strong> simplify divider color (<a href="https://redirect.github.com/angular/components/issues/31214">#31214</a>)</td>
</tr>
<tr>
<td><a href="1f8b1302f2"><img src="https://img.shields.io/badge/1f8b1302f2-fix-green" alt="fix - 1f8b1302f2" /></a></td>
<td><strong>button-toggle:</strong> use system colors (<a href="https://redirect.github.com/angular/components/issues/31231">#31231</a>)</td>
</tr>
<tr>
<td><a href="5ee7d79e4c"><img src="https://img.shields.io/badge/5ee7d79e4c-fix-green" alt="fix - 5ee7d79e4c" /></a></td>
<td><strong>button:</strong> FAB emitting invalid elevation tokens (<a href="https://redirect.github.com/angular/components/issues/31028">#31028</a>)</td>
</tr>
<tr>
<td><a href="8523397fd2"><img src="https://img.shields.io/badge/8523397fd2-fix-green" alt="fix - 8523397fd2" /></a></td>
<td><strong>button:</strong> prevents mat-icon being cut off by text-spacing (<a href="https://redirect.github.com/angular/components/issues/30891">#30891</a>)</td>
</tr>
<tr>
<td><a href="afe36e4d42"><img src="https://img.shields.io/badge/afe36e4d42-fix-green" alt="fix - afe36e4d42" /></a></td>
<td><strong>button:</strong> remove internal-only M2 styles (<a href="https://redirect.github.com/angular/components/issues/31017">#31017</a>)</td>
</tr>
<tr>
<td><a href="589ea5905e"><img src="https://img.shields.io/badge/589ea5905e-fix-green" alt="fix - 589ea5905e" /></a></td>
<td><strong>button:</strong> remove internal-only M2 styles (<a href="https://redirect.github.com/angular/components/issues/31018">#31018</a>)</td>
</tr>
<tr>
<td><a href="0d47628d2e"><img src="https://img.shields.io/badge/0d47628d2e-fix-green" alt="fix - 0d47628d2e" /></a></td>
<td><strong>button:</strong> use system colors for state layers and text (<a href="https://redirect.github.com/angular/components/issues/31278">#31278</a>)</td>
</tr>
<tr>
<td><a href="203c1737eb"><img src="https://img.shields.io/badge/203c1737eb-fix-green" alt="fix - 203c1737eb" /></a></td>
<td><strong>card:</strong> subtitle text token should be on-surface-variant (<a href="https://redirect.github.com/angular/components/issues/31261">#31261</a>)</td>
</tr>
<tr>
<td><a href="55b7ba0814"><img src="https://img.shields.io/badge/55b7ba0814-fix-green" alt="fix - 55b7ba0814" /></a></td>
<td><strong>card:</strong> use system outline (<a href="https://redirect.github.com/angular/components/issues/31218">#31218</a>)</td>
</tr>
<tr>
<td><a href="eb9abc366f"><img src="https://img.shields.io/badge/eb9abc366f-fix-green" alt="fix - eb9abc366f" /></a></td>
<td><strong>checkbox:</strong> remove internal-only M2 styles (<a href="https://redirect.github.com/angular/components/issues/31019">#31019</a>)</td>
</tr>
<tr>
<td><a href="458a17ba46"><img src="https://img.shields.io/badge/458a17ba46-fix-green" alt="fix - 458a17ba46" /></a></td>
<td><strong>checkbox:</strong> update tokens to system colors (<a href="https://redirect.github.com/angular/components/issues/31279">#31279</a>)</td>
</tr>
<tr>
<td><a href="68d7ea0351"><img src="https://img.shields.io/badge/68d7ea0351-fix-green" alt="fix - 68d7ea0351" /></a></td>
<td><strong>chips:</strong> provide ability to edit for all screen readers with a click on already focused chip (<a href="https://redirect.github.com/angular/components/issues/30983">#30983</a>)</td>
</tr>
<tr>
<td><a href="8c9cae0a8c"><img src="https://img.shields.io/badge/8c9cae0a8c-fix-green" alt="fix - 8c9cae0a8c" /></a></td>
<td><strong>chips:</strong> sync with g3 (<a href="https://redirect.github.com/angular/components/issues/31393">#31393</a>)</td>
</tr>
<tr>
<td><a href="be48108bc2"><img src="https://img.shields.io/badge/be48108bc2-fix-green" alt="fix - be48108bc2" /></a></td>
<td><strong>chips:</strong> update tokens to system colors (<a href="https://redirect.github.com/angular/components/issues/31280">#31280</a>)</td>
</tr>
<tr>
<td><a href="20ac2b2bd8"><img src="https://img.shields.io/badge/20ac2b2bd8-fix-green" alt="fix - 20ac2b2bd8" /></a></td>
<td><strong>core:</strong> improve disabled psuedo checkbox contrast (<a href="https://redirect.github.com/angular/components/issues/31464">#31464</a>)</td>
</tr>
<tr>
<td><a href="576a008b09"><img src="https://img.shields.io/badge/576a008b09-fix-green" alt="fix - 576a008b09" /></a></td>
<td><strong>core:</strong> remove unused form field mixins (<a href="https://redirect.github.com/angular/components/issues/31283">#31283</a>)</td>
</tr>
<tr>
<td><a href="4d67427cef"><img src="https://img.shields.io/badge/4d67427cef-fix-green" alt="fix - 4d67427cef" /></a></td>
<td><strong>core:</strong> update ripple tokens to system colors (<a href="https://redirect.github.com/angular/components/issues/31282">#31282</a>)</td>
</tr>
<tr>
<td><a href="28f2763f96"><img src="https://img.shields.io/badge/28f2763f96-fix-green" alt="fix - 28f2763f96" /></a></td>
<td><strong>core:</strong> update tokens to system colors (<a href="https://redirect.github.com/angular/components/issues/31281">#31281</a>)</td>
</tr>
<tr>
<td><a href="009424c73e"><img src="https://img.shields.io/badge/009424c73e-fix-green" alt="fix - 009424c73e" /></a></td>
<td><strong>datepicker:</strong> use system colors (<a href="https://redirect.github.com/angular/components/issues/31300">#31300</a>)</td>
</tr>
<tr>
<td><a href="a24081f2bd"><img src="https://img.shields.io/badge/a24081f2bd-fix-green" alt="fix - a24081f2bd" /></a></td>
<td><strong>dialog:</strong> remove internal-only M2 styles (<a href="https://redirect.github.com/angular/components/issues/31020">#31020</a>)</td>
</tr>
<tr>
<td><a href="d52ede5627"><img src="https://img.shields.io/badge/d52ede5627-fix-green" alt="fix - d52ede5627" /></a></td>
<td><strong>expansion:</strong> add token for box shadow (<a href="https://redirect.github.com/angular/components/issues/31340">#31340</a>)</td>
</tr>
<tr>
<td><a href="ecc6a09ca5"><img src="https://img.shields.io/badge/ecc6a09ca5-fix-green" alt="fix - ecc6a09ca5" /></a></td>
<td><strong>expansion:</strong> align state layer colors (<a href="https://redirect.github.com/angular/components/issues/31236">#31236</a>)</td>
</tr>
<tr>
<td><a href="e57aef2912"><img src="https://img.shields.io/badge/e57aef2912-fix-green" alt="fix - e57aef2912" /></a></td>
<td><strong>expansion:</strong> use correct typography (<a href="https://redirect.github.com/angular/components/issues/31347">#31347</a>)</td>
</tr>
<tr>
<td><a href="82ab91e58a"><img src="https://img.shields.io/badge/82ab91e58a-fix-green" alt="fix - 82ab91e58a" /></a></td>
<td><strong>form-field:</strong> remove internal-only M2 styles (<a href="https://redirect.github.com/angular/components/issues/31021">#31021</a>)</td>
</tr>
</tbody>
</table>
</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>20.1.0 &quot;metal-brownie&quot; (2025-07-09)</h1>
<p>There have been some internal mapping changes in Material 2 theme config maps generated by <code>mat.define-light-theme</code> and <code>mat.define-dark-theme</code>.</p>
<p>If your app was directly modifying these internal properties to alter styles, such as setting new color values used in the foreground and background palette maps, then your changes may no longer be applied to the components. The supported path for changing theme values is through each component’s overrides API.</p>
<p>The Material 2 component styles have undergone minor adjustments to enhance consistency across components and better align with the latest Material 2 specification. These changes result in a closer adherence to system-level colors such as <code>surface</code>, <code>background</code>, <code>disabled</code>, and <code>surface</code> variants. In general, these changes are slight hue differences for grey colors that aren’t very noticeable.</p>
<h3>cdk</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="f446d7c412">f446d7c412</a></td>
<td>feat</td>
<td><strong>drag-drop:</strong> add opt-in indicator of pick-up position (<a href="https://redirect.github.com/angular/components/pull/31288">#31288</a>)</td>
</tr>
<tr>
<td><a href="5564d7d016">5564d7d016</a></td>
<td>feat</td>
<td><strong>menu:</strong> add setActiveMenuItem to cdkMenu (<a href="https://redirect.github.com/angular/components/pull/31371">#31371</a>)</td>
</tr>
<tr>
<td><a href="6dc2f3ba50">6dc2f3ba50</a></td>
<td>fix</td>
<td><strong>a11y:</strong> allow mixed types to be passed into setActiveItem (<a href="https://redirect.github.com/angular/components/pull/31462">#31462</a>)</td>
</tr>
<tr>
<td><a href="cfa97bb785">cfa97bb785</a></td>
<td>fix</td>
<td><strong>dialog:</strong> avoid setting aria-hidden before focus has moved (<a href="https://redirect.github.com/angular/components/pull/31030">#31030</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="243845460d">243845460d</a></td>
<td>feat</td>
<td><strong>chips:</strong> add (optional) edit icon to input chips (<a href="https://redirect.github.com/angular/components/pull/31041">#31041</a>)</td>
</tr>
<tr>
<td><a href="9e942b4ba2">9e942b4ba2</a></td>
<td>feat</td>
<td><strong>menu:</strong> add support for context menu</td>
</tr>
<tr>
<td><a href="4de7c0fb2d">4de7c0fb2d</a></td>
<td>feat</td>
<td><strong>testing:</strong> Extend Angular harness testing functionality  (<a href="https://redirect.github.com/angular/components/pull/30960">#30960</a>)</td>
</tr>
<tr>
<td><a href="512433b6d1">512433b6d1</a></td>
<td>fix</td>
<td><strong>badge:</strong> remove badge opacity color mix (<a href="https://redirect.github.com/angular/components/pull/31213">#31213</a>)</td>
</tr>
<tr>
<td><a href="92a8253e28">92a8253e28</a></td>
<td>fix</td>
<td><strong>badge:</strong> use system disabled states (<a href="https://redirect.github.com/angular/components/pull/31266">#31266</a>)</td>
</tr>
<tr>
<td><a href="a7150d42cf">a7150d42cf</a></td>
<td>fix</td>
<td><strong>button-toggle:</strong> simplify divider color (<a href="https://redirect.github.com/angular/components/pull/31214">#31214</a>)</td>
</tr>
<tr>
<td><a href="1f8b1302f2">1f8b1302f2</a></td>
<td>fix</td>
<td><strong>button-toggle:</strong> use system colors (<a href="https://redirect.github.com/angular/components/pull/31231">#31231</a>)</td>
</tr>
<tr>
<td><a href="5ee7d79e4c">5ee7d79e4c</a></td>
<td>fix</td>
<td><strong>button:</strong> FAB emitting invalid elevation tokens (<a href="https://redirect.github.com/angular/components/pull/31028">#31028</a>)</td>
</tr>
<tr>
<td><a href="8523397fd2">8523397fd2</a></td>
<td>fix</td>
<td><strong>button:</strong> prevents mat-icon being cut off by text-spacing (<a href="https://redirect.github.com/angular/components/pull/30891">#30891</a>)</td>
</tr>
<tr>
<td><a href="afe36e4d42">afe36e4d42</a></td>
<td>fix</td>
<td><strong>button:</strong> remove internal-only M2 styles (<a href="https://redirect.github.com/angular/components/pull/31017">#31017</a>)</td>
</tr>
<tr>
<td><a href="589ea5905e">589ea5905e</a></td>
<td>fix</td>
<td><strong>button:</strong> remove internal-only M2 styles (<a href="https://redirect.github.com/angular/components/pull/31018">#31018</a>)</td>
</tr>
<tr>
<td><a href="0d47628d2e">0d47628d2e</a></td>
<td>fix</td>
<td><strong>button:</strong> use system colors for state layers and text (<a href="https://redirect.github.com/angular/components/pull/31278">#31278</a>)</td>
</tr>
<tr>
<td><a href="203c1737eb">203c1737eb</a></td>
<td>fix</td>
<td><strong>card:</strong> subtitle text token should be on-surface-variant (<a href="https://redirect.github.com/angular/components/pull/31261">#31261</a>)</td>
</tr>
<tr>
<td><a href="55b7ba0814">55b7ba0814</a></td>
<td>fix</td>
<td><strong>card:</strong> use system outline (<a href="https://redirect.github.com/angular/components/pull/31218">#31218</a>)</td>
</tr>
<tr>
<td><a href="eb9abc366f">eb9abc366f</a></td>
<td>fix</td>
<td><strong>checkbox:</strong> remove internal-only M2 styles (<a href="https://redirect.github.com/angular/components/pull/31019">#31019</a>)</td>
</tr>
<tr>
<td><a href="458a17ba46">458a17ba46</a></td>
<td>fix</td>
<td><strong>checkbox:</strong> update tokens to system colors (<a href="https://redirect.github.com/angular/components/pull/31279">#31279</a>)</td>
</tr>
<tr>
<td><a href="68d7ea0351">68d7ea0351</a></td>
<td>fix</td>
<td><strong>chips:</strong> provide ability to edit for all screen readers with a click on already focused chip (<a href="https://redirect.github.com/angular/components/pull/30983">#30983</a>)</td>
</tr>
<tr>
<td><a href="8c9cae0a8c">8c9cae0a8c</a></td>
<td>fix</td>
<td><strong>chips:</strong> sync with g3 (<a href="https://redirect.github.com/angular/components/pull/31393">#31393</a>)</td>
</tr>
<tr>
<td><a href="be48108bc2">be48108bc2</a></td>
<td>fix</td>
<td><strong>chips:</strong> update tokens to system colors (<a href="https://redirect.github.com/angular/components/pull/31280">#31280</a>)</td>
</tr>
<tr>
<td><a href="20ac2b2bd8">20ac2b2bd8</a></td>
<td>fix</td>
<td><strong>core:</strong> improve disabled psuedo checkbox contrast (<a href="https://redirect.github.com/angular/components/pull/31464">#31464</a>)</td>
</tr>
<tr>
<td><a href="576a008b09">576a008b09</a></td>
<td>fix</td>
<td><strong>core:</strong> remove unused form field mixins (<a href="https://redirect.github.com/angular/components/pull/31283">#31283</a>)</td>
</tr>
<tr>
<td><a href="4d67427cef">4d67427cef</a></td>
<td>fix</td>
<td><strong>core:</strong> update ripple tokens to system colors (<a href="https://redirect.github.com/angular/components/pull/31282">#31282</a>)</td>
</tr>
<tr>
<td><a href="28f2763f96">28f2763f96</a></td>
<td>fix</td>
<td><strong>core:</strong> update tokens to system colors (<a href="https://redirect.github.com/angular/components/pull/31281">#31281</a>)</td>
</tr>
<tr>
<td><a href="009424c73e">009424c73e</a></td>
<td>fix</td>
<td><strong>datepicker:</strong> use system colors (<a href="https://redirect.github.com/angular/components/pull/31300">#31300</a>)</td>
</tr>
<tr>
<td><a href="a24081f2bd">a24081f2bd</a></td>
<td>fix</td>
<td><strong>dialog:</strong> remove internal-only M2 styles (<a href="https://redirect.github.com/angular/components/pull/31020">#31020</a>)</td>
</tr>
<tr>
<td><a href="d52ede5627">d52ede5627</a></td>
<td>fix</td>
<td><strong>expansion:</strong> add token for box shadow (<a href="https://redirect.github.com/angular/components/pull/31340">#31340</a>)</td>
</tr>
<tr>
<td><a href="ecc6a09ca5">ecc6a09ca5</a></td>
<td>fix</td>
<td><strong>expansion:</strong> align state layer colors (<a href="https://redirect.github.com/angular/components/pull/31236">#31236</a>)</td>
</tr>
<tr>
<td><a href="e57aef2912">e57aef2912</a></td>
<td>fix</td>
<td><strong>expansion:</strong> use correct typography (<a href="https://redirect.github.com/angular/components/pull/31347">#31347</a>)</td>
</tr>
<tr>
<td><a href="82ab91e58a">82ab91e58a</a></td>
<td>fix</td>
<td><strong>form-field:</strong> remove internal-only M2 styles (<a href="https://redirect.github.com/angular/components/pull/31021">#31021</a>)</td>
</tr>
<tr>
<td><a href="6d27e04051">6d27e04051</a></td>
<td>fix</td>
<td><strong>form-field:</strong> use system for neutral colors (<a href="https://redirect.github.com/angular/components/pull/31272">#31272</a>)</td>
</tr>
<tr>
<td><a href="918b625438">918b625438</a></td>
<td>fix</td>
<td><strong>list:</strong> update tokens to system colors (<a href="https://redirect.github.com/angular/components/pull/31284">#31284</a>)</td>
</tr>
<tr>
<td><a href="a62164db5b">a62164db5b</a></td>
<td>fix</td>
<td><strong>menu:</strong> do not auto-focus when hover opens menu (<a href="https://redirect.github.com/angular/components/pull/31257">#31257</a>)</td>
</tr>
<tr>
<td><a href="623030b50d">623030b50d</a></td>
<td>fix</td>
<td><strong>menu:</strong> update tokens to system colors (<a href="https://redirect.github.com/angular/components/pull/31285">#31285</a>)</td>
</tr>
</tbody>
</table>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="24f86fd5e7"><code>24f86fd</code></a> release: cut the v20.1.0 release</li>
<li><a href="2bfe12e882"><code>2bfe12e</code></a> fix(material/tabs): remove delay on touch devices (<a href="https://redirect.github.com/angular/components/issues/31489">#31489</a>)</li>
<li><a href="01e09d1cf8"><code>01e09d1</code></a> build: clean up animations references in build files (<a href="https://redirect.github.com/angular/components/issues/31498">#31498</a>)</li>
<li><a href="eb04b6de48"><code>eb04b6d</code></a> Terms of Service (<a href="https://redirect.github.com/angular/components/issues/31495">#31495</a>)</li>
<li><a href="405a0d242c"><code>405a0d2</code></a> test(cdk/scrolling): Change test spying on tick (<a href="https://redirect.github.com/angular/components/issues/31247">#31247</a>)</li>
<li><a href="3f7b6b7e64"><code>3f7b6b7</code></a> release: cut the v20.1.0-rc.0 release</li>
<li><a href="d1c8e1a518"><code>d1c8e1a</code></a> docs: release notes for the v20.0.5 release</li>
<li><a href="7bb0a82a43"><code>7bb0a82</code></a> fix(material/snack-bar): use inverse primary for button color (<a href="https://redirect.github.com/angular/components/issues/31465">#31465</a>)</li>
<li><a href="20ac2b2bd8"><code>20ac2b2</code></a> fix(material/core): improve disabled psuedo checkbox contrast (<a href="https://redirect.github.com/angular/components/issues/31464">#31464</a>)</li>
<li><a href="8860e65171"><code>8860e65</code></a> build: fix up markdown renderer tests</li>
<li>Additional commits viewable in <a href="https://github.com/angular/components/compare/19.2.19...20.1.0">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=19.2.19&new-version=20.1.0)](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>
2025-07-14 08:18:18 +00:00
2025-02-13 03:33:57 +00:00
2025-02-12 18:08:01 -05:00
2025-03-05 08:50:05 -05:00
2025-02-12 18:08:01 -05:00
2025-07-08 10:25:41 -04:00
2025-02-12 18:08:01 -05:00
2025-02-12 18:08:01 -05:00
2025-02-12 18:08:01 -05:00
2025-07-08 10:25:41 -04:00
2025-07-08 10:25:41 -04:00
2023-11-14 07:02:36 +11:00
2025-07-08 10:25:41 -04:00
2025-02-12 18:08:01 -05:00
2025-07-08 10:25:41 -04:00
2025-02-12 18:08:01 -05:00
2025-05-19 08:38:13 -07:00
2025-07-08 13:45:01 -04:00
2025-02-12 18:08:01 -05:00
2022-05-28 07:01:26 +10:00
2022-05-10 15:08:43 +02:00
2018-06-08 14:36:44 -07:00
2025-07-08 10:25:41 -04:00

Flutter samples

Build Status

A collection of open source samples that illustrate best practices for Flutter.

Contributing

We're very appreciative of fixes and necessary improvements to the existing samples. But in most cases, we're not currently adding new samples to this repository while we rethink sample code in the post-LLM world.

Please read the contributor's guide if you have contributions.

Googler's, you can freely add samples to the flutter/demos repository.

Index

Quickstarts

  • asset_transformation - Demonstrates how to transform images' color scales and formats.
  • background_isolate_channels - Demonstrates how to use long-lived isolates.
  • code_sharing - Demonstrates how to share business logic between Flutter client and Dart server using package:shelf )
  • context_menus - This sample shows how to create and customize cross-platform context menus, such as the text selection toolbar on mobile or the right click menu on desktop.
  • desktop_photo_search - Demonstrates desktop features in both Material and FluentUI design systems.
  • dynamic_theme - A developer sample demonstrating how to call on-device Flutter APIs based on output from the Gemini API.
  • form_app - A sample demonstrating different types of forms and best practices.
  • game_template - (note: deprecated!) A starter game in Flutter with all the bells and whistles of a mobile (iOS & Android) game.
  • gemini_tasks - A developer sample written in Flutter demonstrating how to interact with a to-do list in natural language using the Gemini API.
  • google_maps - Demonstrates the Google Maps for Flutter plugin.
  • infinite_list - A Flutter sample app that shows an implementation of the "infinite list" UX pattern.
  • isolate_example - A sample application that demonstrate best practices when using isolates.
  • navigation_and_routing - A sample that shows how to use go_router API to handle common navigation scenarios.
  • place_tracker - A sample place tracking app that uses the google_maps_flutter plugin.
  • platform_design - This sample project shows a Flutter app that maximizes application code reuse while adhering to different design patterns on Android and iOS.
  • provider_counter - The starter Flutter application, but using package:provider to manage state.
  • provider_shopper - A Flutter sample app that shows a state management approach using package:provider.
  • simple_shader - A simple Flutter fragment shaders sample project.
  • simplistic_calculator - A calculator to demonstrate a simple start for a desktop Flutter app.
  • simplistic_editor - This sample text editor showcases the use of TextEditingDeltas and a DeltaTextInputClient to expand and contract styled ranges of text.
  • testing_app - A sample app that shows different types of testing in Flutter.
  • 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.

Native platform samples

  • add-to-app - Collection of samples that demonstrate embedding Flutter a view into a native app.
    • fullscreen — Embeds a full screen instance of Flutter into an existing iOS or Android app.
    • prebuilt_module — Embeds a full screen instance of Flutter as a prebuilt library that can be loaded into an existing iOS or Android app.
    • plugin — Embeds a full screen Flutter instance that is using plugins into an existing iOS or Android app.
    • books — Mimics a real world use-case of embedding Flutter into an existing Android app and demonstrates using Pigeon to communicate between Flutter and the host application.
    • multiple_flutters — Shows the usage of the Flutter Engine Group APIs to embed multiple instances of Flutter into an existing app with low memory cost.
    • android_view — Shows how to integrate a Flutter add-to-app module at a view level for Android.
  • android_splash_screen
  • ios_app_clip
  • platform_channels - A sample app which demonstrates how to use MethodChannel, EventChannel, BasicMessageChannel and MessageCodec in Flutter.
  • platform_view_swift - A Flutter sample app that combines a native iOS UIViewController with a full-screen Flutter view.

Demo galleries

Demo apps

Flutter sample code

Samples are correct and concise code that developers can quickly understand and easily reuse with minimal side effects. Samples teach developers how to be successful using Flutter and Dart. They are maintained on an ongoing basis to reflect changing APIs and best practices.

Types of samples

There are two types of sample code in this repository:

  • Quickstarts provide a starting point to extend. They answer the question, "What is the minimal amount of code needed to implement this feature?"
  • Demo apps are meant to be built and ran. They demo the product, not how to write code.

A majority of samples in this repository are quickstarts.

Usage

Every sample in this repo is fully runnable. To run an example, use flutter run inside that example's directory. See the getting started guide to install the flutter tool.

Important

If you want to run an add-to-app sample, there are additional requirements. We suggest reading the add-to-app documentation.

Tip: minimize download size

As this repository is quite big, you can use svn to download a single example. For example:

svn co https://github.com/flutter/samples/trunk/provider_shopper

You can also use a partial clone to skip blob objects that aren't currently checked out, while including the full commit history:

git clone --filter=blob:none https://github.com/flutter/samples.git

Interested in contributing?

See the contributor's guide!

Questions or issues?

If you have a general question about one of these samples or how to adapt its techniques for one of your own apps, try one of these resources:

If you run into a bug in one of the samples, please file an issue in the flutter/samples issue tracker.

Description
No description provided
Readme 1 GiB
Languages
Dart 71%
C++ 11.4%
CMake 8.7%
Kotlin 2.2%
Swift 1.9%
Other 4.8%