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

31 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
3be0794966 Reorged android_view to match the rest of the projects. (#740) 2021-02-25 22:11:59 -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