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

106 Commits

Author SHA1 Message Date
dependabot[bot]
7fa8d7187e Bump go_router from 7.1.1 to 8.0.0 in /platform_channels (#1878)
Bumps
[go_router](https://github.com/flutter/packages/tree/main/packages) from
7.1.1 to 8.0.0.
<details>
<summary>Commits</summary>
<ul>
<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><a
href="f1e628c07c"><code>f1e628c</code></a>
[go_router_builder] Accept required parameters not in path (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4039">#4039</a>)</li>
<li><a
href="d83ab7fe4e"><code>d83ab7f</code></a>
[pigeon] Require analyzer 5.13.0, prepare for NamedType refactoring. (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4127">#4127</a>)</li>
<li><a
href="a84b2c2ac3"><code>a84b2c2</code></a>
[ci] Exclude maps unit tests on Windows (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4152">#4152</a>)</li>
<li><a
href="da72219048"><code>da72219</code></a>
remove unnecessary typed_data imports (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4136">#4136</a>)</li>
<li><a
href="dba76d4e0e"><code>dba76d4</code></a>
[local_auth_android] Bump androidx.fragment to 1.5.7 and androidx.core
to 1.1...</li>
<li><a
href="3c3c980df1"><code>3c3c980</code></a>
[google_maps] Endorses package:google_maps_flutter_web. (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4124">#4124</a>)</li>
<li><a
href="81e3428752"><code>81e3428</code></a>
[ci] Removes bespoke web scripts. (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4129">#4129</a>)</li>
<li><a
href="9bf2dbcdfb"><code>9bf2dbc</code></a>
[webview_flutter]: fix typo (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4070">#4070</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/flutter/packages/commits/go_router-v8.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=7.1.1&new-version=8.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 <brett.morgan@gmail.com>
2023-06-09 16:32:48 +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
Brett Morgan
68e70fd70c Break fix CI (#1754) 2023-05-01 16:05:32 +10:00
Brett Morgan
31a3d14618 Rebuild runners (#1725) 2023-04-08 07:44:56 +10:00
Brett Morgan
75b552d921 Use dart test (#1711) 2023-03-25 11:32:44 -05:00
Qun Cheng
1b195e5dcc Update experimental M3 demo (#1692) 2023-03-06 15:03:58 -08:00
Justin McCandless
7874e554b6 Enable the context menu examples on web (#1687) 2023-03-02 13:33:12 +11:00
Anthony Sansone
64d10ca175 Added Google Maps sample code (#1671)
* Added Google Maps sample code

* Updated per @domesticmouse review

* Updated dependabot and pubspec for Dart 2.19
2023-02-28 10:16:45 +10:00
Brett Morgan
0b8be3e43f Add simple_shader (#1668)
* Add `simple_shader`

* Add NL at EOF

* Adopt `analysis_defaults`

* Update simple_shader/shaders/simple.frag

Co-authored-by: Jonah Williams <jonahwilliams@google.com>

* Update simple_shader/shaders/simple.frag

Co-authored-by: Jonah Williams <jonahwilliams@google.com>

* Update simple_shader/shaders/simple.frag

Co-authored-by: Jonah Williams <jonahwilliams@google.com>

* Update simple_shader/shaders/simple.frag

Co-authored-by: Jonah Williams <jonahwilliams@google.com>

* Update simple_shader/shaders/simple.frag

Co-authored-by: Jonah Williams <jonahwilliams@google.com>

* Update simple_shader/shaders/simple.frag

Co-authored-by: Jonah Williams <jonahwilliams@google.com>

* Update simple_shader/shaders/simple.frag

Co-authored-by: Jonah Williams <jonahwilliams@google.com>

* Update simple_shader/shaders/simple.frag

Co-authored-by: Jonah Williams <jonahwilliams@google.com>

* Apply `clang-format` to `shaders/simple.frag`

---------

Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2023-02-24 10:01:10 +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
b5806955eb Elide failing projects from master CI (#1645)
* Elide `desktop_photo_search/fluent_ui` from master CI

* Elide `simplistic_calculator` from `master` CI
2023-02-09 09:22:00 +10:00
gaaclarke
787bf09fe3 Add background_isolate_channels to CI (#1448)
* 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

* Comment in `background_isolate_channels`

* Fixup

* Elide `experimental/material_3_demo` from `master`

* Elide `material_3_demo` from `master` CI

* Elide `place_tracker` on `master` CI

---------

Co-authored-by: Brett Morgan <brettmorgan@google.com>
Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
2023-02-06 13:20:05 +10:00
Parker Lougheed
51f0a74820 Mixin TextInputClient to include insertContent implementation (#1618) 2023-02-01 19:20:51 +11:00
Brett Morgan
c05480277a Elide simplistic_editor from master channel (#1617) 2023-02-01 10:43:03 +10:00
David Iglesias
8f1b3c3f9b Adds "Element Embedding" demo package. (#1596) 2023-01-26 12:53:11 +11: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
Brett Morgan
70f3daa9f7 Add experimental/pedometer (#1587)
* Add `experimental/pedometer`

* Fixup for linter warnings

* Update CI config
2023-01-24 10:31:12 +10:00
Brett Morgan
be309ecc07 Update CI project list (#1583) 2023-01-22 15:20:42 +11:00
Brett Morgan
c46d418532 experimental/context_menus: Update analysis_options.yaml (#1579) 2023-01-20 19:12:56 +11:00
Brian James
057728c5d2 added Type Jam puzzle app for review (#1554)
* added Type Jam puzzle app for review

* pr round 2 prep

* updated ci scripts for varfont_shader_puzzle

* resolved unused and minor variable naming issues

* rotator tiles row and col are final vars now

* removed unused import and print from production

* made constructors const where needed

* pages_flow export refactored to directly come from that file

* removed old api commented out section from FragmentShaded

* updated pubspec yaml to correct project name

* dart min version updated; removed unnecessary commented out dependencies from pubspec.yaml

* updated pubspec.yaml min flutter version to ensure FragmentShader support

* added/edited comments for explanation, esp on var fonts; removed obsolete comments

* trailing newline added to pubspec.yaml eof
2023-01-13 10:40:47 +10:00
Brett Morgan
07e0119b94 Elide web_dashboard from Master CI (#1535) 2022-12-20 09:24:32 +10:00
Brett Morgan
8ae4a52fa7 Dart 3 update (#1519) 2022-12-10 07:03:37 +11:00
Justin McCandless
41571eae07 Custom context menu example (#1463)
* flutter create

* Copied in from 'contextual-menu-examples' repo

* Works again with the latest updates to the branch

* Clean up anywhere example

* Clean up other examples

* Add to CI

* Updated with release version of context menus, and added platform switcher

* Generated files

* Home icon on your original platform

* Remove web_dashboard from ci, not sure why that change was there...

* Add context_menu to beta channel, but commented out, for the future

* +x permissions on the master script, which I may have accidentally changed before?

* Actual bash comment

* dart format

* Natural default platform'

* A working test, for the email page

* Import order fix

* Test some pages

* More tests

* dart format
2022-11-09 16:42:25 +10:00
Kevin Moore
6caaa0a3c9 code sharing sample: flat package directory (#1486) 2022-10-20 09:00:41 -07:00
Brett Morgan
d99fb974a0 Re-add Craig Labenz's code sharing sample (#1466)
* Revert "Revert "Add code sharing sample (#1444)" (#1464)"

This reverts commit dc50c46ef1.

* Opting out failing tests on Windows for CI

Co-authored-by: Craig Labenz <craig.labenz@gmail.com>
2022-10-18 13:15:31 -04:00
Brett Morgan
0bdb8f06ab Add web/samples_index to CI (#1454) 2022-10-15 17:39:31 -04:00
Brett Morgan
ba6fe16c97 Elide form_app from beta CI (#1467) 2022-10-09 12:53:36 +11:00
Brett Morgan
dc50c46ef1 Revert "Add code sharing sample (#1444)" (#1464)
This reverts commit fc6222ebc8.
2022-10-07 14:26:40 -07:00
Craig Labenz
fc6222ebc8 Add code sharing sample (#1444)
* code-sharing boilerplate

* initial commit of code-sharing logic

* documentation improvements

* added code-sharing to samples.yaml

* Updated counter UI to visually indicate communication with the server

* added code_sharing to CI

* CI changes to code_sharing

* fixed test with DI

* formatting

* added shared module to CI

* adds forgotten CI change
2022-10-05 08:47:30 -07:00
Brett Morgan
a695bfca78 Update provider_shopper (#1445) 2022-10-04 22:38:07 +10:00
Brett Morgan
ebe1056e97 Elide experimental/linting_tool and simplistic_editor (#1441)
* Elide `experimental/linting_tool`

* Elide `simplistic_editor`
2022-09-27 08:49:48 +10:00
Brett Morgan
726bef3b08 Elide form_app on master CI (#1416) 2022-09-08 13:20:51 +10: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
Brett Morgan
c006254fec Fix master CI (#1396)
* Elide `add_to_app/fullscreen/flutter_module`

* Elide `add_to_app/multiple_flutters/multiple_flutters_module`

* Elide `add_to_app/plugin/flutter_module_using_plugin`

* Elide `add_to_app/prebuilt_module/flutter_module`

* Elide `android_splash_screen`

* Elide `animations`

* Elide `experimental/federated_plugin/federated_plugin`

* Elide `game_template`

* Elide `infinite_list`

* Elide `jsonexample`

* Elide `navigation_and_routing`

* Elide `platform_design`

* Elide `platform_view_swift`

* Elide `provider_counter`
2022-08-30 12:23:29 +10:00
Qun Cheng
bd00db0ecc New M3 Demo App for Master Channel (#1378)
* Added components

* Added test

* Added README

* Run flutter format

* Added all the updated components and tests

* Added README file

* Update README.md

* Add textfields to M3 demo app

* move textfield to exprerimental/

* Update component_screen_test.dart

* Fixed comment: changed sdk version

* Changed all double quotes to single

* Added trailing comma, changed all private fields to public except private state classes

* Added enum for screen selection

* Removed comment for material_3_demo

* Added experimental m3 demo app to master CI pipeline

* fixed failing tests

* Modified the analysis_options.yaml

* Fixed warning

* Ran flutter format command

Co-authored-by: Qun Cheng <quncheng@google.com>
Co-authored-by: hangyu <108393416+hangyujin@users.noreply.github.com>
2022-08-18 22:38:13 +10:00
Brett Morgan
0cb2bf64d7 Add a master CI (#1379) 2022-08-18 10:13:24 +10:00
Brett Morgan
267a64841d Elide projects from beta CI (#1334)
Flutter 3.3.0 beta is introducing a bunch of required changes to pass CI's lint pass
2022-07-22 12:44:57 +10:00
Brett Morgan
ccd68f34e2 Beta (#1234) 2022-05-11 12:48:11 -07:00
Filip Hracek
daa024a829 Add game_template (#1180)
Adds a template / sample for games built in Flutter, with all the bells and whistles, like ads, in-app purchases, audio, main menu, settings, and so on.

Co-authored-by: Parker Lougheed
Co-authored-by: Shams Zakhour
2022-05-10 15:08:43 +02:00
Emmanuel Garcia
5143bcf302 Download the gradle wrapper (#1231) 2022-05-09 15:26:34 -07:00
Brett Morgan
c6663fe4c2 simplistic_editor is failing on beta CI (#1224) 2022-05-09 01:38:43 +10:00
Qun Cheng
6694b00dae Added M3 demo app (#1189)
* Added M3 demo app

* Changed to use the centralized lint configuration.

* Moved the app at the root level

* Added to CI

* Added app to beta CI and commented app on stable CI file

* Update README.md

* Addressed comments

* fixed comments

* Reverted app name in CI files.

* Added project to the Pub Dependabot config

* Linting pass for current beta channel standards

Co-authored-by: Qun Cheng <quncheng@google.com>
Co-authored-by: Craig Labenz <craig.labenz@gmail.com>
2022-05-06 08:29:31 -07:00