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

88 Commits

Author SHA1 Message Date
dependabot[bot]
04b19c3a30 Bump go_router from 8.2.0 to 9.0.0 in /place_tracker (#1920) 2023-06-28 06:23:28 +10: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
dependabot[bot]
74a4c060da Bump go_router from 7.1.1 to 8.0.1 in /place_tracker (#1886)
Bumps
[go_router](https://github.com/flutter/packages/tree/main/packages) from
7.1.1 to 8.0.1.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="f6633b20d0"><code>f6633b2</code></a>
[go_router] Update link to example for query and path parameters (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/3994">#3994</a>)</li>
<li><a
href="852acaa9f9"><code>852acaa</code></a>
[in_app_pur]: Bump org.jetbrains.kotlin:kotlin-bom from 1.8.0 to 1.8.21
in /p...</li>
<li><a
href="7d00ea7d4b"><code>7d00ea7</code></a>
[image_picker]: Bump androidx.activity:activity from 1.7.0 to 1.7.1 in
/packa...</li>
<li><a
href="bcddb9a1f0"><code>bcddb9a</code></a>
[webview_flutter] Explicitly disable ATS in example apps (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4166">#4166</a>)</li>
<li><a
href="3e0a170706"><code>3e0a170</code></a>
Fix stale ignore: prefer_const_constructors from flutter/packages (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4154">#4154</a>)</li>
<li><a
href="e13b8c4338"><code>e13b8c4</code></a>
[tool] Only run unit tests in Chrome for inline web (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4153">#4153</a>)</li>
<li><a
href="1057ab48db"><code>1057ab4</code></a>
[in_app_purchase] Make the _FeatureCard constructor const in the Android
exam...</li>
<li><a
href="d935cb0d2f"><code>d935cb0</code></a>
[shared_preferences] Fix initialization race (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4159">#4159</a>)</li>
<li><a
href="010ba50128"><code>010ba50</code></a>
[go_router] Refactors imperative APIs and browser history (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4134">#4134</a>)</li>
<li><a
href="e37dd83c91"><code>e37dd83</code></a>
[various] Add <code>http</code> 1.0 compatibility (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4147">#4147</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/flutter/packages/commits/go_router-v8.0.1/packages">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=go_router&package-manager=pub&previous-version=7.1.1&new-version=8.0.1)](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 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>
2023-06-09 18:31:44 +10:00
dependabot[bot]
99c4ffe238 Bump google_maps_flutter_web from 0.4.0+9 to 0.5.0 in /place_tracker (#1855)
Bumps
[google_maps_flutter_web](https://github.com/flutter/packages/tree/main/packages/google_maps_flutter)
from 0.4.0+9 to 0.5.0.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/flutter/packages/commits/google_maps_flutter_web-v0.5.0/packages/google_maps_flutter">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google_maps_flutter_web&package-manager=pub&previous-version=0.4.0+9&new-version=0.5.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 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>
2023-06-01 08:04:57 +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
dependabot[bot]
7d63caa3ac Bump go_router from 6.5.9 to 7.0.0 in /place_tracker (#1758)
Bumps
[go_router](https://github.com/flutter/packages/tree/main/packages) from
6.5.9 to 7.0.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b01736711c"><code>b017367</code></a>
[go_router] Cleans up route match API and introduces dart fix (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/3819">#3819</a>)</li>
<li><a
href="2f95ecda81"><code>2f95ecd</code></a>
[camerax] Add <code>LifecycleOwner</code> Proxy (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/3837">#3837</a>)</li>
<li><a
href="815cfca847"><code>815cfca</code></a>
[file_selector] Add getDirectoryPaths implementation for Windows (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/3704">#3704</a>)</li>
<li><a
href="6dc28c9c3f"><code>6dc28c9</code></a>
[various] Update Android example min SDKs (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/3847">#3847</a>)</li>
<li><a
href="1a90429ac1"><code>1a90429</code></a>
[camerax] Implement Image Streaming (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/3454">#3454</a>)</li>
<li><a
href="124e330a2b"><code>124e330</code></a>
[various] update agp and gradle for all examples in packages (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/3822">#3822</a>)</li>
<li><a
href="c71747df2c"><code>c71747d</code></a>
Update xcode to 14c18 (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/3774">#3774</a>)</li>
<li><a
href="3dc59f914d"><code>3dc59f9</code></a>
[camera_android] Add NV21 as an image stream format <a
href="https://github.com/flutter/packages/tree/main/packages/issues/3277">#3277</a>
(<a
href="https://github.com/flutter/packages/tree/main/packages/issues/3639">#3639</a>)</li>
<li>See full diff in <a
href="https://github.com/flutter/packages/commits/go_router-v7.0.0/packages">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=go_router&package-manager=pub&previous-version=6.5.9&new-version=7.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 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 <brettmorgan@google.com>
2023-05-02 13:16:51 +10:00
Brett Morgan
3bafa557f7 Update sdk constraint range and update runners (#1706) 2023-03-23 18:13:59 +10:00
Brett Morgan
0a862ea4c1 Update runners (#1658)
* Update runners

* Elide `experimental/pedometer` from CI

* Mark `primary` scroll view

* Re-enable "experimental/pedometer"
2023-02-21 09:48:19 +10:00
Brett Morgan
3e9bb78aec Create analysis_defaults package (#1654)
* Create `analysis_defaults` package

* Update analysis_defaults/pubspec.yaml

Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>

---------

Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>
2023-02-16 23:44:16 +10:00
Miguel Beltran
a5cdae3ab0 Enable Material 3 on place_tracker (#1621) 2023-02-02 08:27:41 +10:00
Brett Morgan
5401bb88b4 Flutter 3.7.0 (#1556)
* Update `simplistic_editor` for Flutter 3.4 beta

* Re-enable beta and master CI

* Disable on master

* Added sample code for using plugins and channels from background isolates.

* goderbauer feedback 1

* goderbauer feedback2

* goderbauer feedback 3

* Add `background_isolate_channels` to CI

* Enable beta CI

* Enable all `stable` CI projects

* `dart fix --apply`

* `print` -> `denugPrint`

* Make deps min version not pinned

* Drop `_isDebug`

* Remove unused import

* `dart format`

* Fixup `linting_tool`

* Fixup `form_app`

* Enable all `master` CI

* Basic fixes

* Patch `simplistic_editor`

* Fix nl at eol

* Comment out `simplistic_editor`

* Incorporating @bleroux's latest changes

* Clean up CI scripts

* Copy `experimental/material_3_demo` to top level

* Update `game_template`

* Update `animations`

* Update `desktop_photo_search`

* Update `flutter_maps_firestore`

* Update `form_app`

* Update `infinite_list`

* Update `isolate_example`

* Update `jsonexample`

* Update `navigation_and_routing`

* Update `place_tracker`

* Update `platform_channels`

* Update `platform_design`

* Update `provider_shopper`

* Fixup `context_menus`

* `dart format`

* Update the main `material_3_demo`

* Make `tool/flutter_ci_script_stable.sh` executable again

Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
Co-authored-by: Aaron Clarke <aaclarke@google.com>
2023-01-25 09:08:51 +10:00
dependabot[bot]
9b975eae20 Bump go_router from 5.2.4 to 6.0.0 in /place_tracker (#1537) 2022-12-20 19:10:35 +11:00
Miguel Beltran
db94e92a26 migrate place_tracker to go_router (#1529) 2022-12-16 11:39:23 +11:00
Brett Morgan
9d8aa333ee Update for Material changes & run rebuild scripts (#1412) 2022-09-01 11:01:17 +10:00
Brett Morgan
83f7059d83 Consolidated Flutter 3.3 update (#1401) 2022-08-31 10:06:34 +10:00
xster
ce35e45702 add thumbnails to the books example to make memory leaks easier to test (#1353)
* add thumbnails to the books example to make memory leaks easier to test

* also add profile build

* migrate material 3 demo code to avoid warning

* Revert "migrate material 3 demo code to avoid warning"

This reverts commit 7df37d9f65.

* fix lints in various packages

* DoNothingAndStopPropagationIntent const conflicts between stable and beta, add lint ignore for now
2022-08-23 23:45:12 -07:00
Brett Morgan
0b86fbc66c place_tracker rebuild script (#1370) 2022-08-10 06:35:01 +10:00
dependabot[bot]
e3040c9e36 Bump google_maps_flutter_web from 0.3.3 to 0.4.0 in /place_tracker (#1308)
Bumps [google_maps_flutter_web](https://github.com/flutter/plugins/tree/main/packages/google_maps_flutter) from 0.3.3 to 0.4.0.
- [Release notes](https://github.com/flutter/plugins/releases)
- [Commits](https://github.com/flutter/plugins/commits/google_maps_flutter_web-v0.4.0/packages/google_maps_flutter)

---
updated-dependencies:
- dependency-name: google_maps_flutter_web
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-15 19:40:20 +10:00
Brett Morgan
4af443d33f Drop lock files from repo (#1282) 2022-05-28 07:01:26 +10:00
Brett Morgan
58bc5d7a58 Deps update, utilize super.key (#1265)
* Deps update, utilize `super.key`

* `flutter format`
2022-05-13 12:31:56 -07:00
Brett Morgan
ccd68f34e2 Beta (#1234) 2022-05-11 12:48:11 -07:00
dependabot[bot]
6a41b9ffe0 Bump google_maps_flutter from 2.1.4 to 2.1.5 in /place_tracker (#1250)
Bumps [google_maps_flutter](https://github.com/flutter/plugins) from 2.1.4 to 2.1.5.
- [Release notes](https://github.com/flutter/plugins/releases)
- [Commits](https://github.com/flutter/plugins/compare/google_maps_flutter-v2.1.4...google_maps_flutter-v2.1.5)

---
updated-dependencies:
- dependency-name: google_maps_flutter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-11 03:04:48 -07:00
Craig Labenz
e8b2bec22a Add Material You and Rich Text Editor samples (#1223)
* Added Material You and Rich Text Editor samples

* updated images to have Material 3

* updated packages info
2022-05-09 13:03:51 -07:00
dependabot[bot]
ce7bd1462e Bump google_maps_flutter from 2.1.3 to 2.1.4 in /place_tracker (#1162) 2022-04-28 17:51:46 +10:00
Viren Khatri
a23b33f6c9 migrate from ui.hash* to Object.hash* (#1133) 2022-04-24 17:07:46 +10:00
Brett Morgan
3b46646306 flutter pub upgrade --major-versions (#1061) 2022-04-06 11:45:20 +10:00
Brett Morgan
a481c264cd Remove git:// url, update deps, fix destop_photo_search (#1052) 2022-03-19 08:37:04 +10:00
Miguel Beltran
5c7afb10cf Update place_tracker Android files (#1021) 2022-02-20 19:35:20 +10:00
Andrew Brogdon
664b63c03c Updates for 2.8! (#961) 2021-12-09 13:15:57 +10:00
Brett Morgan
be34b0bf43 Centralize analysis options (#957) 2021-12-01 16:49:51 +10:00
Brett Morgan
84e7057abe Update pubspec.yaml files (#958) 2021-12-01 09:33:28 +10:00
Ahmed Ashour
29339b8334 Remove unneeded types (#949) 2021-11-03 09:58:12 -07:00
Ahmed Ashour
64805fe5b6 Remove unneeded return (#950) 2021-11-03 21:12:41 +10:00
Brett Morgan
994cdb4afa flutter pub upgrade (#926)
* flutter pub upgrade

* `desktop_photo_search`: Remove unneeded `unawaited`

Co-authored-by: John Ryan <ryjohn@google.com>
2021-10-11 14:01:27 -07:00
Brett Morgan
297f6b0b96 Upgrade deps, format, fix web/filipino_cuisine (#898)
fixes: https://github.com/flutter/samples/issues/897
2021-09-21 11:38:59 -07:00
Andrew Brogdon
4cac0e6661 Lands beta branch into master for 2.5 (#895) 2021-09-08 17:35:05 -07:00
Brett Morgan
0850579bc8 dart migrate place_tracker (#831) 2021-06-08 09:23:48 +10:00
Brett Morgan
a405fc4a9d Update the dependencies (#815) 2021-06-08 08:15:43 +10:00
Brett Morgan
7acef097f0 place_tracker: use_key_in_widget_constructors and Runners rebuild (#829) 2021-06-08 07:46:36 +10:00
Brett Morgan
936d1fdaae Upgrading samples to flutter_lints, part 1 of n (#804) 2021-06-05 12:24:28 +10:00
Andrew Brogdon
376c666f0a Merge beta into master (#799) 2021-05-18 13:35:06 -07:00
Andrew Brogdon
8c1cd0b049 Landing beta changes in master for the new stable release (#747) 2021-03-03 11:44:35 -08:00
John Ryan
241e2c1b26 Fix cookbook scraper bugs and re-run (#697)
* fix path separator bug in cookbook scraper

* update lockfiles

* add category to image name to avoid conflicts

e.g.
testing/integration/introduction
testing/widget/introduction

* fix form_app symlink

* remove webimages directory

* remove vision_challenge

vision_challenge doesn't build on the dev channel

* update pubspec.yaml in _tool and form_app
2021-02-08 10:36:22 -08:00
Brett Morgan
622e8d55d3 Migrate to the New Material Buttons (#668) 2021-01-27 13:20:50 +11:00
Arteev Raina
1f0f430dbd [multiple] Added copyright headers (#664) 2021-01-21 11:16:46 -08:00
Brett Morgan
6e9824dc12 flutter pub update & various fixes (#627) 2020-12-18 10:51:31 +11:00
Andrew Brogdon
9af31afec4 Updates for Flutter 1.22 (#559) 2020-10-01 11:14:27 -07:00
John Ryan
2236f122b4 Add web support to place_tracker (#550)
* enable web for place_tracker

* add place_tracker symlink

* add generated_plugin_registrant.dart

* update google_maps_flutter_web to fix pins not showing

* add place_tracker to peanut.yaml

* upgrade place_tracker dep

* use a 32 pixel square

* Apply zoom to selected category when the PlaceMapState updates. This fixes a grey screen issue in web, after saving a place.

* pub upgrade

* run pub upgrade

* use published versions of packages

* remove lib/generated_plugin_registrant.dart

* add newline

* add web API key to README

Co-authored-by: David Iglesias Teixeira <ditman@gmail.com>
2020-09-23 11:06:25 -07:00
John Ryan
d61d843f56 Update place_tracker README (#530) 2020-08-18 21:46:49 -07:00