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
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
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
Brett Morgan
5c063d2a9e Analyze with fatal infos on both stable and beta (#962) 2022-01-05 16:45:06 +10:00
Brett Morgan
bdf7ad36da [CI]: dart analyze --fatal-infos (#954) 2021-12-01 12:10:44 +10:00
Brett Morgan
b229c5236f [CI]: Drop dev channel (#955) 2021-12-01 09:34:24 +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
Brett Morgan
d3c4645a42 flutter analyze -> dart analyze (#849) 2021-07-12 10:08:10 -07:00
Brett Morgan
054360e2a4 flutter format -> dart format (#846) 2021-07-09 14:33:22 -07:00
Andrew Brogdon
89d2849019 Adding new flag for dev channel format (#841) 2021-07-03 19:43:54 +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