James Williams
a7df23f2ef
Improve color display in M3 Demo ( #2438 )
...
- Added the color scheme schematic from Material Theme Builder aligning
how colors are displayed here and in documentation across Android and
Figma.
- On desktop, individual colors can be copied to the clipboard
- View adapts from the existing single column view to the new schematic
at 500dp width.
### Before:
<img width="1727" alt="Screenshot 2024-09-12 at 2 40 15 PM"
src="https://github.com/user-attachments/assets/37423d79-174a-4691-b0e1-8f18c947550a ">
### After:
![mobile](https://github.com/user-attachments/assets/43a7bfbd-6217-4d3f-a1d6-902c99260905 )
![Screenshot_20240912_144150](https://github.com/user-attachments/assets/48df7ad4-44a1-4802-8dac-06006dfb6bb1 )
## 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/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md
[CLA]: https://cla.developers.google.com/
[Discord]:
https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
---------
Co-authored-by: Eric Windmill <ewindmill@google.com>
3 months ago
Brett Morgan
20c1002132
Fixup CI ( #2412 )
4 months ago
Qun Cheng
2fc80aae12
Flutter 3.24 update, Add CarouselView examples to demo 3 ( #2377 )
...
This PR is to include `CarouselView` to M3 demo app.
https://github.com/user-attachments/assets/7db76c06-aa7e-4461-9baa-51fd5c4e6b38
## 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.
---------
Co-authored-by: Eric Windmill <ewindmill@google.com>
5 months ago
Qun Cheng
649e0e4db9
Update `ColorScheme` to show the newly added color roles ( #2299 )
...
This PR is to fix #2289 and add newly added `ColorScheme` roles since
https://github.com/flutter/flutter/pull/144273
---------
Co-authored-by: Parker Lougheed <parlough@gmail.com>
7 months ago
Eric Windmill
3172aff8f8
Updates for 3.22 ( #2266 )
...
Updates for 3.22
---------
Co-authored-by: Brett Morgan <brettmorgan@google.com>
Co-authored-by: Qun Cheng <chengqunq@gmail.com>
Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
8 months ago
Parker Lougheed
c6cbc11e49
Fix tests after recent M3 demo changes ( #2194 )
...
It's not yet clear to me what in
e5f3bacaf8
is causing the failure, but this resolves it.
10 months ago
Hrishikesh Kadam
49bc4d9d02
Add surfaceTint, outlineVariant, scrim and re-arrange ( #2070 )
...
Re-arrange colors according to [Baseline color scheme tokens]
[Baseline color scheme tokens]:
https://m3.material.io/styles/color/the-color-system/tokens#e26e130c-fa67-48e1-81ca-d28f6e4ed398
## 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
1 year ago
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>
2 years ago
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
2 years ago
Qun Cheng
0a9f7eae6c
Update m3 demo in the base directory ( #1615 )
...
Co-authored-by: Qun Cheng <quncheng@google.com>
2 years ago
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>
2 years ago
Qun Cheng
dbefd89ca9
Added license headers for M3 demo app ( #1328 )
...
* Added header for all files
Co-authored-by: Qun Cheng <quncheng@google.com>
2 years ago
Qun Cheng
52ef797b9a
Made elements on component screen stay compact on wider screen, take 2 ( #1267 )
...
* Revert "Revert "Made elements on component screen stay compact on wider screen (#1258 )" (#1266 )"
This reverts commit 53c83adc71
.
* ran flutter format for the changed files
* fixed test
Co-authored-by: Qun Cheng <quncheng@google.com>
3 years ago
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>
3 years ago