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

77 Commits

Author SHA1 Message Date
Eric Windmill
7317424083 Fix CI (#2690)
Update repository for next Flutter release

## 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 `///`).


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

<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md
[CLA]: https://cla.developers.google.com/
[Discord]:
https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
[changelog]: ../CHANGELOG.md
2025-07-08 13:45:01 -04:00
Eric Windmill
fe4156713f Move experimental (#2680)
Removes the remaining samples in `experimental`. They're now in the
flutter/demos repository.

*List which issues are fixed by this PR. For larger changes, raising an
issue first helps
reduce redundant work.*

#2520 

## 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-07-08 10:25:41 -04:00
Eric Windmill
dccb8f1dde Flutter 3.32 (#2618)
Updates samples for release 3.32

## 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 `///`).


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

<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md
[CLA]: https://cla.developers.google.com/
[Discord]:
https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
[changelog]: ../CHANGELOG.md
2025-05-19 08:38:13 -07:00
Eric Windmill
dd21cee9c1 Remove visual samples index (#2607)
Removes VSI and all related infra. It has been replaced by [an index
page on
flutter.dev](https://docs.flutter.dev/reference/learning-resources)

Fixes:

#2582 
#2507 

## 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-04-30 10:31:44 -07:00
Mitchell Goodwin
5a7decd9ed Remove rolodex (#2601)
Removes the rolodex project
2025-04-02 11:12:58 -04:00
Eric Windmill
b1f8fa57b5 revives date_planner (#2593) 2025-03-05 08:50:05 -05:00
Eric Windmill
864153a3ef Hide simplistic editor from Beta CI (#2589)
Making CI work
2025-02-20 17:42:37 -05:00
Eric Windmill
719fd72c38 Flutter 3.29 beta (#2571) 2025-02-12 18:08:01 -05:00
Mitchell Goodwin
d62c784789 Initialize Rolodex (#2569)
Creates the start of the Rolodex app.

Sets up the app with the initial routes setup. Since the native Contacts
app does not open on its home screen, and instead opens on the default
list of contacts, it felt important to set that up first. Some basic app
state management is also setup for managing contact lists across the
app.

Boilerplate visuals are setup for two of the screens. Improved fidelity
will come later.

<img width="855" alt="Screenshot 2025-01-27 at 12 09 57 PM"
src="https://github.com/user-attachments/assets/de091c7c-11ac-4350-9362-61b9c26b2aca"
/>
<img width="841" alt="Screenshot 2025-01-27 at 12 04 07 PM"
src="https://github.com/user-attachments/assets/fe822b06-a432-44cf-ab24-f3e7a88955e5"
/>
2025-01-29 13:18:46 -08:00
Eric Windmill
f25adf4529 Flutter3.27 (#2483)
Updating samples for the next stable release
2024-12-11 14:34:29 -05:00
Eric Windmill
66ab725924 Remove io sample (#2490)
This sample has been moved to my personal Github, because we shouldn't
maintain samples that are tied to events.

- Moved sample to personal repo
- Removed sample from this repo
- Updated README here and the link to this repo in the YouTube video
2024-11-22 11:10:01 -05:00
dependabot[bot]
c4a5e02665 Bump jnigen from 0.11.0 to 0.12.0 in /experimental/pedometer (#2466)
Bumps [jnigen](https://github.com/dart-lang/native/tree/main/pkgs) from
0.11.0 to 0.12.0.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/dart-lang/native/commits/HEAD/pkgs">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jnigen&package-manager=pub&previous-version=0.11.0&new-version=0.12.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>
Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
2024-10-03 14:43:01 +10:00
dependabot[bot]
51a386e1c8 Bump flutter_lints from 4.0.0 to 5.0.0 in /experimental/pedometer (#2452)
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`.

[//]: # (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>
Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
2024-09-29 15:04:29 +10:00
Eric Windmill
46b5a26b26 Compass app (#2446) 2024-09-28 08:49:27 +10:00
James Williams
a7df23f2ef Improve color display in M3 Demo (#2438)
- Added the color scheme schematic from Material Theme Builder aligning
how colors are displayed here and in documentation across Android and
Figma.
- On desktop, individual colors can be copied to the clipboard
- View adapts from the existing single column view to the new schematic
at 500dp width.

### Before:
<img width="1727" alt="Screenshot 2024-09-12 at 2 40 15 PM"
src="https://github.com/user-attachments/assets/37423d79-174a-4691-b0e1-8f18c947550a">


### After:


![mobile](https://github.com/user-attachments/assets/43a7bfbd-6217-4d3f-a1d6-902c99260905)


![Screenshot_20240912_144150](https://github.com/user-attachments/assets/48df7ad4-44a1-4802-8dac-06006dfb6bb1)

## 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/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md
[CLA]: https://cla.developers.google.com/
[Discord]:
https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md

---------

Co-authored-by: Eric Windmill <ewindmill@google.com>
2024-09-23 14:44:03 -04:00
Qun Cheng
2fc80aae12 Flutter 3.24 update, Add CarouselView examples to demo 3 (#2377)
This PR is to include `CarouselView` to M3 demo app.


https://github.com/user-attachments/assets/7db76c06-aa7e-4461-9baa-51fd5c4e6b38



## 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.

---------

Co-authored-by: Eric Windmill <ewindmill@google.com>
2024-08-06 15:12:50 -04:00
Eric Windmill
0cfd119903 Fixups (#2310)
Fixes #2301

---------

Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
Co-authored-by: Brett Morgan <brettmorgan@google.com>
2024-05-30 07:28:23 +10:00
Andrew Kolos
821422fa25 Add asset transformation sample (#2267)
This adds a sample Flutter project that demonstrates a
soon-to-be-released feature, asset transformation[^1]. [PR for
flutter.dev
documentation](https://github.com/flutter/website/pull/10471).

This feature isn't the easiest to explain using documentation, so I
think augmenting that documentation with a sample is appropriate.

This sample demonstrates 1) how to use an existing Dart package (that is
compatible with the feature) as an asset transformer and 2) how to write
a Dart package that is compatible with this feature. This should be
clear from the README.md.

**Advice for reviewing this PR.** The goal here is that most users that
read the documentation and follow the link from there to this sample
should be able to figure out what the feature does and how to use it.
Try to imagine yourself in this position and follow this story. If the
feature is still unclear, then there is probably something we can do to
improve this sample or the docs. Said more simply, follow these steps:
1) Start at the new section to be added to Flutter.dev
(https://flutter-docs-prod--pr10471-document-asset-transformers-cc21qf01.web.app/ui/assets/assets-and-images#automatic-transformation-of-asset-files-at-build-time).
It should naturally link you to the sample project. Start with the
README and see if things make sense.

## 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

[^1]: If you are super curious about this feature, see [the tracking
issue for its
implementation](https://github.com/flutter/flutter/issues/143348).

---------

Co-authored-by: Eric Windmill <eric@ericwindmill.com>
2024-05-14 11:42:21 -04:00
Eric Windmill
be52906894 Adds ai_recipe_generation sample (#2242)
Adding the demo app from my I/O talk. Because AI.

## 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.

---------

Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
2024-05-14 11:41:20 -04:00
Eric Windmill
3172aff8f8 Updates for 3.22 (#2266)
Updates for 3.22

---------

Co-authored-by: Brett Morgan <brettmorgan@google.com>
Co-authored-by: Qun Cheng <chengqunq@gmail.com>
Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
2024-05-14 10:37:24 -04:00
Andrew Brogdon
71fef7c869 Adding dynamic_theme and gemini_tasks (#2287)
Adds two new samples that use the Google Generative AI SDK for Dart.
Both were created by @rodydavis. I'm merely the uploader so to speak.

## 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.
2024-05-13 11:36:15 -04:00
Parker Lougheed
5149510f44 Reenable simplistic_editor on CI (#2238) 2024-04-09 18:56:03 +10:00
Brett Morgan
9bf1ed6846 Deal with Master CI failures (#2219)
## 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
2024-03-22 06:07:19 +11:00
dependabot[bot]
e8b5006e96 Bump firebase_core from 2.24.2 to 2.25.4 in /flutter_maps_firestore (#2175)
Bumps
[firebase_core](https://github.com/firebase/flutterfire/tree/master/packages/firebase_core)
from 2.24.2 to 2.25.4.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md">firebase_core's
changelog</a>.</em></p>
<blockquote>
<h1>Change Log</h1>
<p>All notable changes to this project will be documented in this file.
See <a href="https://conventionalcommits.org">Conventional Commits</a>
for commit guidelines.</p>
<h2>2024-02-19</h2>
<h3>Changes</h3>
<hr />
<p>Packages with breaking changes:</p>
<ul>
<li>There are no breaking changes in this release.</li>
</ul>
<p>Packages with other changes:</p>
<ul>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#_flutterfire_internals---v1322"><code>_flutterfire_internals</code>
- <code>v1.3.22</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#cloud_firestore---v4155"><code>cloud_firestore</code>
- <code>v4.15.5</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#cloud_firestore_platform_interface---v616"><code>cloud_firestore_platform_interface</code>
- <code>v6.1.6</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#cloud_firestore_web---v3105"><code>cloud_firestore_web</code>
- <code>v3.10.5</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_auth_web---v595"><code>firebase_auth_web</code>
- <code>v5.9.5</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_storage_web---v370"><code>firebase_storage_web</code>
- <code>v3.7.0</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_crashlytics_platform_interface---v3622"><code>firebase_crashlytics_platform_interface</code>
- <code>v3.6.22</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_auth_platform_interface---v715"><code>firebase_auth_platform_interface</code>
- <code>v7.1.5</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_in_app_messaging_platform_interface---v02422"><code>firebase_in_app_messaging_platform_interface</code>
- <code>v0.2.4+22</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_database_platform_interface---v02522"><code>firebase_database_platform_interface</code>
- <code>v0.2.5+22</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_dynamic_links_platform_interface---v02622"><code>firebase_dynamic_links_platform_interface</code>
- <code>v0.2.6+22</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_messaging_web---v365"><code>firebase_messaging_web</code>
- <code>v3.6.5</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_remote_config_platform_interface---v1422"><code>firebase_remote_config_platform_interface</code>
- <code>v1.4.22</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_messaging_platform_interface---v4524"><code>firebase_messaging_platform_interface</code>
- <code>v4.5.24</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_app_installations_web---v01322"><code>firebase_app_installations_web</code>
- <code>v0.1.3+22</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_analytics_platform_interface---v396"><code>firebase_analytics_platform_interface</code>
- <code>v3.9.6</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_analytics_web---v05518"><code>firebase_analytics_web</code>
- <code>v0.5.5+18</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_storage_platform_interface---v519"><code>firebase_storage_platform_interface</code>
- <code>v5.1.9</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_app_installations_platform_interface---v01422"><code>firebase_app_installations_platform_interface</code>
- <code>v0.1.4+22</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_performance_web---v01422"><code>firebase_performance_web</code>
- <code>v0.1.4+22</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_performance_platform_interface---v01422"><code>firebase_performance_platform_interface</code>
- <code>v0.1.4+22</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_app_check_platform_interface---v01016"><code>firebase_app_check_platform_interface</code>
- <code>v0.1.0+16</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_app_check_web---v01016"><code>firebase_app_check_web</code>
- <code>v0.1.0+16</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_crashlytics---v3415"><code>firebase_crashlytics</code>
- <code>v3.4.15</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_auth---v4175"><code>firebase_auth</code>
- <code>v4.17.5</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_in_app_messaging---v07414"><code>firebase_in_app_messaging</code>
- <code>v0.7.4+14</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_database_web---v02322"><code>firebase_database_web</code>
- <code>v0.2.3+22</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_database---v1046"><code>firebase_database</code>
- <code>v10.4.6</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_dynamic_links---v5414"><code>firebase_dynamic_links</code>
- <code>v5.4.14</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_messaging---v14716"><code>firebase_messaging</code>
- <code>v14.7.16</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_remote_config_web---v1422"><code>firebase_remote_config_web</code>
- <code>v1.4.22</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_remote_config---v4314"><code>firebase_remote_config</code>
- <code>v4.3.14</code></a></li>
<li><a
href="https://github.com/firebase/flutterfire/blob/master/#firebase_app_installations---v02414"><code>firebase_app_installations</code>
- <code>v0.2.4+14</code></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="f6ead64ffd"><code>f6ead64</code></a>
chore(release): publish packages</li>
<li><a
href="0e67a1a466"><code>0e67a1a</code></a>
fix(core, web): remove unused import that could lead to compilation
error (<a
href="https://github.com/firebase/flutterfire/tree/master/packages/firebase_core/issues/1">#1</a>...</li>
<li><a
href="e864acebf7"><code>e864ace</code></a>
chore(release): publish packages (<a
href="https://github.com/firebase/flutterfire/tree/master/packages/firebase_core/issues/12276">#12276</a>)</li>
<li><a
href="c395da524d"><code>c395da5</code></a>
fix(core, web): fix an incompatibility with Flutter Beta that would
occur whe...</li>
<li><a
href="8d944a25e4"><code>8d944a2</code></a>
fix(core, web): fix null safety issue in typing JS Interop (<a
href="https://github.com/firebase/flutterfire/tree/master/packages/firebase_core/issues/12266">#12266</a>)</li>
<li><a
href="8f49afcb80"><code>8f49afc</code></a>
chore(release): publish packages (<a
href="https://github.com/firebase/flutterfire/tree/master/packages/firebase_core/issues/12251">#12251</a>)</li>
<li><a
href="d0d30405a8"><code>d0d3040</code></a>
fix(auth, web): fix null safety issue in typing JS Interop (<a
href="https://github.com/firebase/flutterfire/tree/master/packages/firebase_core/issues/12250">#12250</a>)</li>
<li><a
href="e655ff3563"><code>e655ff3</code></a>
chore(release): publish packages (<a
href="https://github.com/firebase/flutterfire/tree/master/packages/firebase_core/issues/12246">#12246</a>)</li>
<li><a
href="e38a510b77"><code>e38a510</code></a>
fix(core, web): fix some JS interop that were incorrectly migrated (<a
href="https://github.com/firebase/flutterfire/tree/master/packages/firebase_core/issues/12239">#12239</a>)</li>
<li><a
href="110e5f6967"><code>110e5f6</code></a>
chore(release): prepare for release (<a
href="https://github.com/firebase/flutterfire/tree/master/packages/firebase_core/issues/12233">#12233</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/firebase/flutterfire/commits/firebase_core-v2.25.4/packages/firebase_core">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=firebase_core&package-manager=pub&previous-version=2.24.2&new-version=2.25.4)](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>
Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
2024-03-01 13:23:01 +11:00
Eric Windmill
78990c6688 Prep for Flutter 3.19 release (#2146)
Prepping for the next stable release in February.

---------

Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
2024-02-01 14:10:18 -05:00
Renzo Olivares
7dcea5e114 Add implementations for onShare and onSearchWeb (#2143)
Fixes #2088

## 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.

---------

Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
2024-01-25 06:23:49 +10:00
Justin McCandless
6c8d54a82b Move context menus out of experimental (#2134)
Now that the context menu code is on stable, move the sample out of
experimental.

Fixes https://github.com/flutter/samples/issues/2110

## 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.

---------

Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
2024-01-05 20:55:29 +10:00
Brett Morgan
e5ec08fccd Update Samples for 3.16 (#2085)
*Replace this paragraph with a description of what this PR is changing
or adding, and why. Consider including before/after screenshots.*

*List which issues are fixed by this PR. For larger changes, raising an
issue first helps
reduce redundant work.*

## Pre-launch Checklist

- [ ] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [ ] I signed the [CLA].
- [ ] I read the [Contributors Guide].
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] 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 08:55:44 +10:00
Brett Morgan
3b67c60274 Drop jsonexample (#2089) 2023-11-14 07:02:36 +11:00
Taha Tesser
1a26473a50 Replace ButtonBar with OverflowBar (#2072)
This PR replaces `ButtonBar` with `OverflowBar` in preparation of
`ButtonBar` deprecation

related to https://github.com/flutter/flutter/issues/127955


## 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].
- [ ] 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: Brett Morgan <brett.morgan@gmail.com>
2023-10-31 15:05:58 +10:00
dependabot[bot]
c58e7ff84b Bump flutter_lints from 2.0.3 to 3.0.0 in /analysis_defaults (#2046) 2023-10-21 12:10:19 +10:00
dependabot[bot]
8091d130a4 Bump jni from 0.6.1 to 0.7.0 in /experimental/pedometer (#2015)
Bumps [jni](https://github.com/dart-lang/jnigen) from 0.6.1 to 0.7.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dart-lang/jnigen/releases">jni's releases</a>.</em></p>
<blockquote>
<h2>package:jni v0.7.0</h2>
<ul>
<li><strong>Breaking Change</strong> (<a href="https://redirect.github.com/dart-lang/jnigen/issues/387">#387</a>): Added <code>JBuffer</code> and <code>JByteBuffer</code> classes as default classes for <code>java.nio.Buffer</code> and <code>java.nio.ByteBuffer</code> respectively.</li>
<li><strong>Breaking Change</strong>: Made the type classes <code>final</code>.</li>
<li>Fixed a bug where <code>addAll</code>, <code>removeAll</code> and <code>retainAll</code> in <code>JSet</code> would run their respective operation twice.</li>
<li>Fixed a bug where <code>JList.insertAll</code> would not throw the potentially thrown Java exception.</li>
</ul>
<h2>package:jnigen v0.7.0</h2>
<ul>
<li><strong>Breaking Change</strong> (<a href="https://redirect.github.com/dart-lang/jnigen/issues/387">#387</a>): Added <code>JBuffer</code> and <code>JByteBuffer</code> classes as default classes for <code>java.nio.Buffer</code> and <code>java.nio.ByteBuffer</code> respectively.</li>
<li><strong>Breaking Change</strong>: Made the type classes <code>final</code>.</li>
<li>Added <code>ignore_for_file: lines_longer_than_80_chars</code> to the generated file preamble.</li>
<li>Added an explicit cast in generated <code>&lt;Interface&gt;.implement</code> code to allow <code>dart analyze</code> to pass when <code>strict-casts</code> is set.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/dart-lang/jnigen/commits/jni-v0.7.0">compare view</a></li>
</ul>
</details>
<br />

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

---

<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-09-14 23:10:13 +00:00
Brett Morgan
f1fd4341ff Flutter beta (#1952) 2023-08-17 06:26:43 +10:00
Brett Morgan
b071562df8 Elide animations & jsonexample from master CI (#1951)
Fixing broken master CI

## 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-07-21 10:50:09 +10:00
Brett Morgan
e50690f948 simplistic_calculator fixed (#1939)
Fixed by https://github.com/shyndman/flutter_layout_grid/pull/92

## 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-07-12 09:09:24 -07:00
Brett Morgan
cecaa9be07 Elide simplistic_editor (#1940)
## 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-07-09 19:05:22 +10:00
Renzo Olivares
b312e3330b Fix master CI for simplistic_editor (#1926)
This change removes an unused parameter that was recently removed in the
`RenderEditable` on the `master` branch
https://github.com/flutter/flutter/pull/109114.

Fixes #1923 

## 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.

---------

Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
2023-06-29 09:26:49 +10:00
Brett Morgan
0eb1534564 Elide simplistic_editor from master CI (#1924) 2023-06-28 10:45:25 +10:00
Brett Morgan
61036391cd CI maintenance (#1913)
## 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-06-26 09:34:31 +10:00
Brett Morgan
f54af1c190 Add tracking issues (#1905) 2023-06-23 01:52:36 +02:00
Brett Morgan
679c6c1cbf Re-enable platform_channels CI (#1903)
## 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-06-21 13:13:35 -07:00
Miguel Beltran
bce29a0ff2 Fix master channel build (#1900)
- Fixes #1899 - Don't use BuildContext in async.
- Disabled build script for `next-gen-ui-demo` for master channel
because dependency gap does not compile.
- Improve use BuildContext in `place_tracker`, added checks to verify
that the context is still mounted, and avoid passing BuildContext as
parameter.

## Pre-launch Checklist

- [ ] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [ ] I signed the [CLA].
- [ ] I read the [Contributors Guide].
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] 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-06-20 21:29:56 +10:00
Brett Morgan
56fd117a3c Elide game_template from master CI (#1858)
## 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-06-01 07:27:39 +10:00
Brett Morgan
a33e0f9720 game_template fix up exhaustive checks (#1853)
## 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 `///`).
- [ ] 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-05-31 06:56:49 +10:00
Christian Padilla
7100438182 Fix minSdkVersion compile error (#1850)
flutter.minSdkVersion is 16, which is too low for guaranteed use of
google_mobile_ads

## 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: Brett Morgan <brett.morgan@gmail.com>
2023-05-28 15:31:32 +10:00
Parker Lougheed
8d7ac67bc1 veggieseasons: Pin go_router version (#1840)
Investigating https://github.com/flutter/samples/issues/1838

---------

Co-authored-by: Brett Morgan <brettmorgan@google.com>
2023-05-25 17:59:03 +10:00
Brett Morgan
aec29f869b Next Gen UI demo (#1778)
First pass at a Next Generation UI demo app. The UI needs work, feedback
gratefully accepted.

## 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-05-17 12:45:47 +10:00
Brett Morgan
82e38e5b79 Update samples for Dart 3.0.0 (#1803) 2023-05-11 12:48:09 +10:00
Brett Morgan
36e7a6ab04 Update for Flutter 3.10 beta (#1746)
## 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 `///`).
- [ ] All existing and new tests are passing.

---------

Co-authored-by: David Iglesias <ditman@gmail.com>
Co-authored-by: Mark Thompson <2554588+MarkTechson@users.noreply.github.com>
Co-authored-by: John Ryan <ryjohn@google.com>
2023-05-11 06:16:31 +10:00
Brett Morgan
b703f1f3f9 Fixup experimental/federated_plugin (#1776)
Replaces https://github.com/flutter/samples/pull/1749

FYI @negotoyolo

## 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-05-06 10:52:10 +10:00