1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

16 Commits

Author SHA1 Message Date
Eric Windmill
2999d738b8 Dart 3.9 / Flutter 3.35 [first LLM release] (#2714)
I got carried away with Gemini and basically rewrote CI and the release
process for the new LLM reality. This work was largely completed by
Gemini.

- Bump all SDK versions to the current beta (3.9.0-0)
- Run `flutter channel beta`
- Wrote `ci_script.dart` to replace the bash scripts
- Converted repository to pub workspace #2499 
- Added llm.md and release.md
- Added redirect for deprecated Samples Index

## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [x] I have added sample code updates to the [changelog].
- [x] I updated/added relevant documentation (doc comments with `///`).
2025-08-14 12:26:24 -07:00
Eric Windmill
719fd72c38 Flutter 3.29 beta (#2571) 2025-02-12 18:08:01 -05:00
Parker Lougheed
90f0584108 Clean up SDK constraints and lints (#2471) 2024-10-11 19:05:16 -05:00
dependabot[bot]
6628a05e24 Bump flutter_lints from 4.0.0 to 5.0.0 in /web_embedding/element_embedding_demo (#2454)
Bumps [flutter_lints](https://github.com/flutter/packages/tree/main/packages) from 4.0.0 to 5.0.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="f38b780f53"><code>f38b780</code></a> [package:flutter_lints] update the dep on <code>package:lints</code> to 5.0.0 and the sd...</li>
<li><a href="7da2374fd8"><code>7da2374</code></a> Update test to not depend on <code>Color.toString()</code> (<a href="https://github.com/flutter/packages/tree/main/packages/issues/7701">#7701</a>)</li>
<li><a href="54dd8883c5"><code>54dd888</code></a> [flutter_lints] remove prefer_const_constructors, prefer_const_declarations, ...</li>
<li><a href="47795ab86a"><code>47795ab</code></a> [go_router] Fixed TabView swiping in custom stateful shell route example  (<a href="https://github.com/flutter/packages/tree/main/packages/issues/7">#7</a>...</li>
<li><a href="4926c0f8bd"><code>4926c0f</code></a> [quick_actions] Add guidance for correcting task management/back press behavi...</li>
<li><a href="21d99dcc16"><code>21d99dc</code></a> [various] Adds macOS privacy manifests (<a href="https://github.com/flutter/packages/tree/main/packages/issues/7687">#7687</a>)</li>
<li><a href="24594a0816"><code>24594a0</code></a> [google_maps_flutter_android] Convert <code>PlatformPolyline.pattern</code> to Pigeon (#...</li>
<li><a href="f54fe93075"><code>f54fe93</code></a> [pigeon] Validates support for nested collections with generic types. (<a href="https://github.com/flutter/packages/tree/main/packages/issues/7614">#7614</a>)</li>
<li><a href="e9253e6016"><code>e9253e6</code></a> [interactive_media_ads] Adds internal wrapper for Android native `AdsRenderin...</li>
<li><a href="fef7ffb4fe"><code>fef7ffb</code></a> [interactive_media_ads]: Bump com.google.ads.interactivemedia.v3:interactivem...</li>
<li>Additional commits viewable in <a href="https://github.com/flutter/packages/commits/flutter_lints-v5.0.0/packages">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=flutter_lints&package-manager=pub&previous-version=4.0.0&new-version=5.0.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>
2024-09-26 07:03:07 +00:00
Parker Lougheed
2b451d2dae Migrate bootstrapping in element embedding sample (#2315)
Migrating the Angular sample is blocked on
https://github.com/flutter/flutter/issues/149443

Contributes to https://github.com/flutter/samples/issues/2297.
2024-06-03 16:46:28 -05:00
Kevin Moore
a858f4701e Bump deps and min SDKs, move web apps to new bootstrapping logic (#2292)
Also removed the web measurement experiment from the material 3 demo
2024-05-14 22:33:41 -07:00
dependabot[bot]
2e79edb80d Bump flutter_lints from 3.0.2 to 4.0.0 in /web_embedding/element_embedding_demo (#2284)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.

---

Bumps [flutter_lints](https://github.com/flutter/packages/tree/main/packages) from 3.0.2 to 4.0.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="4799c49634"><code>4799c49</code></a> [flutter_lints] Rev to 4.0.0; prepare for publishing (<a href="https://github.com/flutter/packages/tree/main/packages/issues/6695">#6695</a>)</li>
<li><a href="4e796783a2"><code>4e79678</code></a> [pointer_interceptor] Remove <code>implements</code> from app-facing package (<a href="https://github.com/flutter/packages/tree/main/packages/issues/6699">#6699</a>)</li>
<li><a href="d670b2c38c"><code>d670b2c</code></a> Temporarily add empty header files to video_player_avfoundation so include di...</li>
<li><a href="a9f14bc819"><code>a9f14bc</code></a> Reverts &quot;[image_picker_ios] Adds Swift Package Manager compatibility to image...</li>
<li><a href="a444af56dd"><code>a444af5</code></a> [image_picker_ios] Adds Swift Package Manager compatibility to image_picker_i...</li>
<li><a href="09a373f211"><code>09a373f</code></a> [video_player_avfoundation] Adds Swift Package Manager compatibility (<a href="https://github.com/flutter/packages/tree/main/packages/issues/6675">#6675</a>)</li>
<li><a href="0167b51e5f"><code>0167b51</code></a> [ios_platform_images] Add Swift Package Manager support (<a href="https://github.com/flutter/packages/tree/main/packages/issues/6684">#6684</a>)</li>
<li><a href="8de142d33b"><code>8de142d</code></a> [path_provider] Add Swift Package Manager support (<a href="https://github.com/flutter/packages/tree/main/packages/issues/6680">#6680</a>)</li>
<li><a href="4595c41373"><code>4595c41</code></a> [go_router] guard context access in then clauses (<a href="https://github.com/flutter/packages/tree/main/packages/issues/6685">#6685</a>)</li>
<li><a href="8df8b5ff3d"><code>8df8b5f</code></a> [camera] Ignore implementation imports outside of lib (<a href="https://github.com/flutter/packages/tree/main/packages/issues/6191">#6191</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/flutter/packages/commits/flutter_lints-v4.0.0/packages">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=flutter_lints&package-manager=pub&previous-version=3.0.2&new-version=4.0.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>
2024-05-10 20:51:55 +00:00
Kevin Moore
37e149d8a6 [element_embedding_demo] migrate to dart:js_interop (#2231) 2024-04-05 07:12:31 -07:00
Soroush Beigi
1f31580907 Updating samples Dart sdk to the last stable version (#2209) 2024-03-24 21:29:55 +11:00
dependabot[bot]
9b17f50671 Bump js from 0.6.7 to 0.7.0 in /web_embedding/element_embedding_demo (#2135)
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps [js](https://github.com/dart-lang/sdk/tree/main/pkg) from 0.6.7 to
0.7.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="dfff7719c2"><code>dfff771</code></a>
Version 0.7.0.0</li>
<li><a
href="df6ae384cc"><code>df6ae38</code></a>
Version 0.6.21.3</li>
<li><a
href="ce57b84db5"><code>ce57b84</code></a>
Version 0.6.21.0</li>
<li><a
href="c2e4ca3466"><code>c2e4ca3</code></a>
svn merge -r 26292:26492 <a
href="https://dart.googlecode.com/svn/branches/bleeding_ed">https://dart.googlecode.com/svn/branches/bleeding_ed</a>...</li>
<li><a
href="0b2b0fe968"><code>0b2b0fe</code></a>
Version 0.6.19.0 .</li>
<li><a
href="2c5963a464"><code>2c5963a</code></a>
Version 0.6.18.0 .</li>
<li><a
href="61f7d41c12"><code>61f7d41</code></a>
Version 0.6.17.0 .</li>
<li><a
href="e97cdf2914"><code>e97cdf2</code></a>
Version 0.6.16.0 .</li>
<li><a
href="c3a1e1a82c"><code>c3a1e1a</code></a>
Version 0.6.15.2 .</li>
<li><a
href="8e602bd629"><code>8e602bd</code></a>
Version 0.6.15.0 .</li>
<li>Additional commits viewable in <a
href="https://github.com/dart-lang/sdk/commits/0.7.0.0/pkg">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=js&package-manager=pub&previous-version=0.6.7&new-version=0.7.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`.

[//]: # (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>
2024-01-05 20:50:46 +10:00
Brett Morgan
0ccc283a4e Fixup for failing Beta CI (#2092)
Turns out, we shipped a new Flutter beta as well. 

Commenting out `experimental/varfont_shader_puzzle` from beta CI

Everything else is just cleanup.

## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-devrel
channel on [Discord].

<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[CLA]: https://cla.developers.google.com/
[Discord]: https://github.com/flutter/flutter/wiki/Chat
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
2023-11-16 14:48:50 +10:00
dependabot[bot]
a1dcc22f7f Bump flutter_lints from 2.0.3 to 3.0.0 in /web_embedding/element_embedding_demo (#2050)
Bumps [flutter_lints](https://github.com/flutter/packages/tree/main/packages) from 2.0.3 to 3.0.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="3f8a5029fb"><code>3f8a502</code></a> [pigeon] Remove support for non-NNBD (<a href="https://github.com/flutter/packages/tree/main/packages/issues/1524">#1524</a>)</li>
<li><a href="4eda7ad208"><code>4eda7ad</code></a> [pigeon] Fixes bug where Dart <code>FlutterApi</code>s would assert that a nullable argu...</li>
<li><a href="dff39d7b48"><code>dff39d7</code></a> [go_router]refactor runtime check to assert (<a href="https://github.com/flutter/packages/tree/main/packages/issues/1362">#1362</a>)</li>
<li><a href="5600590b50"><code>5600590</code></a> [go_router] Export inherited_go_router.dart file (<a href="https://github.com/flutter/packages/tree/main/packages/issues/1145">#1145</a>)</li>
<li><a href="d8bf76e582"><code>d8bf76e</code></a> [flutter_markdown] Remove build status from <code>README.md</code> (<a href="https://github.com/flutter/packages/tree/main/packages/issues/1326">#1326</a>)</li>
<li><a href="bc223c1272"><code>bc223c1</code></a> Remove checked in binaries from flutter/packages. (<a href="https://github.com/flutter/packages/tree/main/packages/issues/1338">#1338</a>)</li>
<li><a href="aff9cccafb"><code>aff9ccc</code></a> [rfw] Run tests for package:rfw on stable as well. (<a href="https://github.com/flutter/packages/tree/main/packages/issues/888">#888</a>)</li>
<li><a href="84a2e796d7"><code>84a2e79</code></a> [Pigeon] Make the generated Java Builder class final (<a href="https://github.com/flutter/packages/tree/main/packages/issues/1247">#1247</a>)</li>
<li><a href="a9d6bf14ba"><code>a9d6bf1</code></a> [go_router] improve coverage (<a href="https://github.com/flutter/packages/tree/main/packages/issues/977">#977</a>)</li>
<li><a href="202fb329c9"><code>202fb32</code></a> [flutter_lints] version 2.0 (<a href="https://github.com/flutter/packages/tree/main/packages/issues/1165">#1165</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/flutter/packages/commits/pigeon-v3.0.0/packages">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=flutter_lints&package-manager=pub&previous-version=2.0.3&new-version=3.0.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>
2023-10-19 07:04:18 +00:00
Brett Morgan
7d169b4d98 Update for 3.13 stable (#1992) 2023-08-24 11:52:33 -05:00
Brett Morgan
f1fd4341ff Flutter beta (#1952) 2023-08-17 06:26:43 +10:00
Brett Morgan
82e38e5b79 Update samples for Dart 3.0.0 (#1803) 2023-05-11 12:48:09 +10:00
Brett Morgan
91cb685d1f Publish web_embedding (#1777)
## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-devrel
channel on [Discord].

<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[CLA]: https://cla.developers.google.com/
[Discord]: https://github.com/flutter/flutter/wiki/Chat
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md


Co-authored-by: Mark Thompson
<2554588+MarkTechson@users.noreply.github.com>
Co-authored-by: David Iglesias <ditman@gmail.com>

Co-authored-by: Mark Thompson <2554588+MarkTechson@users.noreply.github.com>
Co-authored-by: David Iglesias <ditman@gmail.com>
2023-05-06 10:53:17 +10:00