1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 14:58:34 +00:00
Commit Graph

319 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
dependabot[bot]
d900c9cd3f Bump fl_chart from 0.55.2 to 0.61.0 in /experimental/pedometer/example (#1678) 2023-02-27 16:11:07 +11:00
dependabot[bot]
89b655d7f3 Bump google_sign_in from 5.4.4 to 6.0.0 in /experimental/web_dashboard (#1665) 2023-02-21 12:49:23 +11: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
Hossein Yousefi
dd3a024aa8 [experimental/pedometer] Use jnigen and jni version from pub instead of git url. (#1655) 2023-02-20 10:56:12 +01:00
Brett Morgan
3e9bb78aec Create analysis_defaults package (#1654)
* Create `analysis_defaults` package

* Update analysis_defaults/pubspec.yaml

Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>

---------

Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>
2023-02-16 23:44:16 +10:00
Pierre-Louis
79bd62952d Improvements to M3 demo app (#1647)
* improvements

* fix focus

* add comment

* add comment

* copy changes to root material_3_demo

* fix large breakpoint

* fix large breakpoint

* Create integration_test.dart

* refactor main.dart into home.dart and constants.dart

* add integration_test to pubspec

* copy to root material_3_demo

* remove removal of constraints

* address feedback
2023-02-14 19:18:36 +01:00
Brett Morgan
e1f3fb020e Revert "Improvements to M3 demo app (#1630)" (#1643)
This reverts commit 6207e34192.
2023-02-08 13:39:28 +01:00
Pierre-Louis
6207e34192 Improvements to M3 demo app (#1630) 2023-02-08 15:27:16 +10:00
Miguel Beltran
cbadb3a2e5 enable Material 3 on linting_tool (#1634) 2023-02-07 16:38:00 +01:00
Brett Morgan
54950c4284 Tidyup varfont_shader_puzzle (#1629)
* Tidyup `varfont_shader_puzzle`

* Add a rebuild script and a test

* Simplify fragment shaders

* Drop web

* Enable `beta` CI

* make it `beta` inclusive

* Pull out the program loading code
2023-02-07 13:59:06 +10:00
Miguel Beltran
44f2356073 Enable Material 3 on federated_plugin (#1635)
* Enable Material 3 on federated_plugin

* update tests
2023-02-07 06:32:42 +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
Pierre-Louis
2e3dfb0e8d Update M3 app (#1606) 2023-01-28 16:46:33 +11:00
dependabot[bot]
cb8aa1f725 Bump google_fonts from 3.0.1 to 4.0.0 in /experimental/linting_tool (#1599) 2023-01-28 07:32:41 +11:00
dependabot[bot]
7166e8acd6 Bump google_fonts in /experimental/varfont_shader_puzzle (#1600)
Bumps [google_fonts](https://github.com/material-foundation/google-fonts-flutter) from 3.0.1 to 4.0.0.
- [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/compare/v3.0.1...v4.0.0)

---
updated-dependencies:
- dependency-name: google_fonts
  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>
2023-01-27 21:14:47 +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
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