1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00
Commit Graph

50 Commits

Author SHA1 Message Date
Brett Morgan
10bcbd0442 Fix CI by eliding simplistic_editor (#1943) 2023-07-13 20:53:13 +08: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
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
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
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
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
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
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
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
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
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
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
83f7059d83 Consolidated Flutter 3.3 update (#1401) 2022-08-31 10:06:34 +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
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
Renzo Olivares
9fd13b507c Add simplistic editor to samples to showcase TextEditingDeltas (#1217)
* Add simplistic editor to samples

* Toggle styles fix

* update name

* Add to CI and dependabot

* update minimum dart sdk

* fix pubspec

* update README

* Update README

* Add shift + arrow key selection and copy/paste keyboard actions

* Update README.md

* copy edits to readme

includes a sentence in each layer description whose accuracy I still need to verify

* update pubspec

* update pubspec.lock

* Fix bug with disabling expansion of replacement when cursor is at edge of replacement

Co-authored-by: Renzo Olivares <roliv@google.com>
Co-authored-by: Craig Labenz <craig.labenz@gmail.com>
2022-05-06 08:26:07 -07:00
Brett Morgan
13ae9ff013 Elide platform_channels, platform_design & testing_app from Beta CI (#1129) 2022-04-26 09:26:52 +10:00
Brett Morgan
aa22261c40 Also elide desktop_photo_search/material (#1114) 2022-04-22 08:08:40 +10:00
Brett Morgan
dd54b941d2 Elide desktop_photo_search/fluent_ui from Beta CI (#1060) 2022-04-06 11:41:24 +10:00
Brett Morgan
9c02a0fa09 Migrate desktop_photo_search to top level (#1002) 2022-02-04 08:33:53 +10:00
Camille Simon
fa0b54bb9e Add android_splash_screen (#903)
Adds a Flutter app designed for devices running at least Android 12 that exemplifies how to implement an animated splash screen with the SplashScreen API.
2021-10-18 14:45:11 -07:00
John Ryan
cdab12421c Add form_app and navigation_and_routing samples to CI scripts (#905) 2021-10-05 09:29:36 -07:00
Andrew Brogdon
4cac0e6661 Lands beta branch into master for 2.5 (#895) 2021-09-08 17:35:05 -07:00
Abdullah Deshmukh
8e73c73f4b [linting_tool] Add Adaptive Layout with Theming (#852) 2021-07-14 07:31:14 +10:00
Andrew Brogdon
9e0ba9a97e Unbreaking beta and dev tests (#839) 2021-06-29 17:22:37 -07:00
Andrew Brogdon
b26f2cccc1 Unbreaks dev and beta CI (#793)
* Unbreaking dev and beta CI

* Newline all the things.

* Unhooking desktop_photo_search from beta and dev CI

* Unhooking web_dashboard and veggieseasons as well
2021-05-05 17:10:48 -07:00
gaaclarke
d04f3295c0 extracted copy and pasted function across module ci scripts (#760) 2021-03-09 13:15:00 +11:00
Brett Morgan
20feb3f901 Re-enable CI on beta and dev channels (#757) 2021-03-09 10:40:33 +11:00
Tushar Ojha
99c18b18d7 Moved veggieseasons out of experimental (#752) 2021-03-08 20:25:15 +11:00
Michael Thomsen
b0e8686fe9 Upgrade null safety example (#748) 2021-03-03 13:01:08 -08:00
gaaclarke
323c10558d restructured the add to app samples (#698) 2021-02-05 10:20:58 -08:00
Brett Morgan
9b631a2184 Split CI testing based on flutter channels (#651) 2021-01-27 18:42:33 +11:00