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

201 Commits

Author SHA1 Message Date
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
Justin McCandless
4ee2002665 Use pumpAndSettle after dragUntilVisible to avoid flakes in context_menu tests (#1588) 2023-01-23 19:47:01 -06:00
Brett Morgan
1a383e9361 experimental/pedometer: fixup linter warning (#1589) 2023-01-24 11:32:13 +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
Qun Cheng
3bc6ad8110 Add a menu example to show menu system (#1578) 2023-01-23 10:40:11 -08:00
Parker Lougheed
4ab7f6c36b Fix and reenable context_menus email button test (#1585) 2023-01-23 08:56:57 +10:00
Brett Morgan
be309ecc07 Update CI project list (#1583) 2023-01-22 15:20:42 +11:00
Justin McCandless
6bd2d930bb Another context menus example: custom menu (#1577) 2023-01-21 08:45:19 +11:00
Brett Morgan
c46d418532 experimental/context_menus: Update analysis_options.yaml (#1579) 2023-01-20 19:12:56 +11:00
Brett Morgan
e2a6ac66d3 experimental/web_dashboard fix for deprecated annotations (#1581) 2023-01-20 14:29:07 +11:00
Pierre-Louis
af1b13501c Symposium of small improvements to m3 app (#1573)
* small improvements

* x

* fixed tests

* add issue links to TODOs

* address feedback
2023-01-18 17:41:55 +01:00
Brett Morgan
2c7ffd4617 Fixup varfont_shader_puzzle, attempt #2 (#1563) 2023-01-13 14:47:23 +10: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
Qun Cheng
bea2ef6c66 Update M3 demo app layout on small screen (#1558) 2023-01-12 12:32:10 -08:00
Mouad Debbar
4f059e686e Avoid allocation of large canvases on the web (#1557) 2023-01-12 10:56:11 -05:00
Justin McCandless
6fbc6fef7a Fill out the README, and add screenshots (#1555) 2023-01-10 09:52:03 +10:00
Qun Cheng
405ebafe04 Update Material 3 Demo App (#1530) 2022-12-20 10:49:23 -08:00
Justin McCandless
e93776ae04 Cascading context menu (#1501) 2022-11-18 08:41:21 +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
dependabot[bot]
c21fcd6573 Bump firebase_core, cloud_firestore and firebase_auth (#1485)
Bumps [firebase_core](https://github.com/firebase/flutterfire/tree/master/packages/firebase_core), [cloud_firestore](https://github.com/firebase/flutterfire/tree/master/packages/cloud_firestore) and [firebase_auth](https://github.com/firebase/flutterfire/tree/master/packages/firebase_auth). These dependencies needed to be updated together.

Updates `firebase_core` from 1.24.0 to 2.0.0
- [Release notes](https://github.com/firebase/flutterfire/releases)
- [Changelog](https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/firebase/flutterfire/commits/firebase_core_web-v2.0.0/packages/firebase_core)

Updates `cloud_firestore` from 3.5.1 to 4.0.1
- [Release notes](https://github.com/firebase/flutterfire/releases)
- [Changelog](https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/firebase/flutterfire/commits/cloud_firestore-v4.0.1/packages/cloud_firestore)

Updates `firebase_auth` from 3.11.2 to 4.0.1
- [Release notes](https://github.com/firebase/flutterfire/releases)
- [Changelog](https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/firebase/flutterfire/commits/firebase_auth-v4.0.1/packages/firebase_auth)

---
updated-dependencies:
- dependency-name: firebase_core
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: cloud_firestore
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: firebase_auth
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-20 00:31:19 +10:00
dependabot[bot]
62d5d8d095 Bump hive_generator from 1.1.3 to 2.0.0 in /experimental/linting_tool (#1477) 2022-10-17 20:42:37 -04:00
Qun Cheng
0e46ac55a6 Add Radios, CircularProgressIndicator and LinearProgressIndicator to the demo app (#1442)
* Added Radios, CircularProgressIndicator and LinearProgressIndicator

* Modified README

* Fixed readme comment

* Changed layout of indicators

* Ran Flutter format command

* Put two indicators to one row

* Fixed comment

* Ran flutter format

Co-authored-by: Qun Cheng <quncheng@google.com>
2022-09-28 08:13:36 +10:00
Qun Cheng
d5d811d21a Update experimental demo app (#1427) 2022-09-12 12:40:32 -07: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
Qun Cheng
c523d05b7e Update filled button and filled tonal button (#1390)
* Update FilledButton and FilledTonalButton

* Ran flutter format

Co-authored-by: Qun Cheng <quncheng@google.com>
Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
2022-08-30 16:41:19 +10:00
stuartmorgan
6dfc29e090 Remove file_selector_* from pubspecs. (#1397)
As of 0.9.1, all of the 1P implementations of `file_selector` are
endorsed, so there's no need to directly include the sub-packages.
2022-08-30 14:58:10 +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
dependabot[bot]
d439751599 Bump file_selector_linux in /experimental/linting_tool (#1382) 2022-08-19 18:30:39 +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
dependabot[bot]
556ffe3dc4 Bump file_selector and file_selector_web in /experimental/linting_tool (#1346)
Bumps [file_selector](https://github.com/flutter/plugins/tree/main/packages/file_selector) and [file_selector_web](https://github.com/flutter/plugins/tree/main/packages/file_selector). These dependencies needed to be updated together.

Updates `file_selector` from 0.8.2+1 to 0.9.0
- [Release notes](https://github.com/flutter/plugins/releases)
- [Commits](https://github.com/flutter/plugins/commits/file_selector-v0.9.0/packages/file_selector)

Updates `file_selector_web` from 0.8.1+5 to 0.9.0
- [Release notes](https://github.com/flutter/plugins/releases)
- [Commits](https://github.com/flutter/plugins/commits/file_selector_web-v0.9.0/packages/file_selector)

---
updated-dependencies:
- dependency-name: file_selector
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: file_selector_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-07-22 21:25:14 +10:00
dependabot[bot]
7123e712fc Bump file_selector_windows in /experimental/linting_tool (#1331)
Bumps [file_selector_windows](https://github.com/flutter/plugins/tree/main/packages/file_selector) from 0.8.2+2 to 0.9.0.
- [Release notes](https://github.com/flutter/plugins/releases)
- [Commits](https://github.com/flutter/plugins/commits/file_selector_windows-v0.9.0/packages/file_selector)

---
updated-dependencies:
- dependency-name: file_selector_windows
  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-07-22 12:48:30 +10:00
dependabot[bot]
6b5b9ccc8a Bump file_selector_macos in /experimental/linting_tool (#1333)
Bumps [file_selector_macos](https://github.com/flutter/plugins/tree/main/packages/file_selector) from 0.8.2+2 to 0.9.0.
- [Release notes](https://github.com/flutter/plugins/releases)
- [Commits](https://github.com/flutter/plugins/commits/file_selector_macos-v0.9.0/packages/file_selector)

---
updated-dependencies:
- dependency-name: file_selector_macos
  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-07-22 10:32:54 +10:00
Parker Lougheed
3c608d0882 Update more links and mentions to the main branch (#1294) 2022-05-31 20:42:52 +10:00
Brett Morgan
4af443d33f Drop lock files from repo (#1282) 2022-05-28 07:01:26 +10:00
Parker Lougheed
d6296157f4 Some linting_tool updates and cleanup (#1279) 2022-05-23 14:48:16 +10:00
Brett Morgan
3a0a652984 Add use_super_parameters lint (#1269) 2022-05-17 02:53:27 -07: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]
f2d399f750 Bump google_sign_in from 5.3.0 to 5.3.1 in /experimental/web_dashboard (#1244)
Bumps [google_sign_in](https://github.com/flutter/plugins) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/flutter/plugins/releases)
- [Commits](https://github.com/flutter/plugins/compare/google_sign_in-v5.3.0...google_sign_in-v5.3.1)

---
updated-dependencies:
- dependency-name: google_sign_in
  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:17:35 -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]
cd70e8508a Bump cloud_firestore in /experimental/web_dashboard (#1212)
Bumps [cloud_firestore](https://github.com/FirebaseExtended/flutterfire) from 3.1.13 to 3.1.14.
- [Release notes](https://github.com/FirebaseExtended/flutterfire/releases)
- [Changelog](https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FirebaseExtended/flutterfire/compare/cloud_firestore-v3.1.13...cloud_firestore_v3.1.14)

---
updated-dependencies:
- dependency-name: cloud_firestore
  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-04 19:13:15 +10:00
dependabot[bot]
6dda0043d3 Bump firebase_core from 1.15.0 to 1.16.0 in /experimental/web_dashboard (#1214)
Bumps [firebase_core](https://github.com/FirebaseExtended/flutterfire) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/FirebaseExtended/flutterfire/releases)
- [Changelog](https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FirebaseExtended/flutterfire/compare/firebase_core-v1.15.0...firebase_core_v1.16.0)

---
updated-dependencies:
- dependency-name: firebase_core
  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-05-04 19:12:47 +10:00
dependabot[bot]
c07018b167 Bump firebase_auth from 3.3.16 to 3.3.17 in /experimental/web_dashboard (#1216)
Bumps [firebase_auth](https://github.com/FirebaseExtended/flutterfire) from 3.3.16 to 3.3.17.
- [Release notes](https://github.com/FirebaseExtended/flutterfire/releases)
- [Changelog](https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FirebaseExtended/flutterfire/compare/firebase_auth-v3.3.16...firebase_auth_v3.3.17)

---
updated-dependencies:
- dependency-name: firebase_auth
  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-04 19:00:04 +10:00
dependabot[bot]
88b524ecbc Bump json_annotation from 4.4.0 to 4.5.0 in /experimental/web_dashboard (#1176)
Bumps [json_annotation](https://github.com/google/json_serializable.dart) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/google/json_serializable.dart/releases)
- [Commits](https://github.com/google/json_serializable.dart/compare/json_annotation-v4.4.0...json_annotation-v4.5.0)

---
updated-dependencies:
- dependency-name: json_annotation
  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-04-28 18:32:33 +10:00
dependabot[bot]
bb8a84d549 Bump json_serializable in /experimental/web_dashboard (#1177)
Bumps [json_serializable](https://github.com/google/json_serializable.dart) from 6.1.6 to 6.2.0.
- [Release notes](https://github.com/google/json_serializable.dart/releases)
- [Commits](https://github.com/google/json_serializable.dart/compare/json_serializable-v6.1.6...json_serializable-v6.2.0)

---
updated-dependencies:
- dependency-name: json_serializable
  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-04-28 18:30:56 +10:00
dependabot[bot]
6a0944b76e Bump json_serializable from 6.1.6 to 6.2.0 in /experimental/linting_tool (#1174)
Bumps [json_serializable](https://github.com/google/json_serializable.dart) from 6.1.6 to 6.2.0.
- [Release notes](https://github.com/google/json_serializable.dart/releases)
- [Commits](https://github.com/google/json_serializable.dart/compare/json_serializable-v6.1.6...json_serializable-v6.2.0)

---
updated-dependencies:
- dependency-name: json_serializable
  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-04-28 18:30:05 +10:00
dependabot[bot]
cad1fccb79 Bump firebase_auth from 3.3.15 to 3.3.16 in /experimental/web_dashboard (#1172)
Bumps [firebase_auth](https://github.com/FirebaseExtended/flutterfire) from 3.3.15 to 3.3.16.
- [Release notes](https://github.com/FirebaseExtended/flutterfire/releases)
- [Changelog](https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FirebaseExtended/flutterfire/compare/firebase_auth-v3.3.15...firebase_auth-v3.3.16)

---
updated-dependencies:
- dependency-name: firebase_auth
  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-04-28 18:26:40 +10:00
Brett Morgan
f998c9577e Add unawaited_futures (#1148) 2022-04-27 09:24:19 +10:00
dependabot[bot]
b7fb986173 Bump google_fonts from 2.3.1 to 2.3.2 in /experimental/linting_tool (#1146)
Bumps [google_fonts](https://github.com/material-foundation/google-fonts-flutter) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/material-foundation/google-fonts-flutter/releases)
- [Changelog](https://github.com/material-foundation/google-fonts-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/material-foundation/google-fonts-flutter/commits/v2.3.2)

---
updated-dependencies:
- dependency-name: google_fonts
  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-04-26 17:02:53 +10:00