James Williams
78d3ea47c9
m3_demo - Enables edge to edge support. ( #2441 )
...
Edge to edge is coming by default to Flutter 3.26+ (or thereabouts) when
the targetSdk is raised to Android 15(API 35). In the meantime, it can
be done manually by adjusting the theme and setting
`WindowCompat.setDecorFitsSystemWindows`.
The fix is purely on the Android side. iOS is unaffected.
Sourced from
https://developer.android.com/develop/ui/views/layout/edge-to-edge-manually
Fixes #1720 .
## 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
2 months ago
Brett Morgan
8d208d7fd4
CI Fix, part #2 ( #2423 )
3 months ago
Brett Morgan
20c1002132
Fixup CI ( #2412 )
3 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>
3 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>
6 months ago
Kevin Moore
a858f4701e
Bump deps and min SDKs, move web apps to new bootstrapping logic ( #2292 )
...
Also removed the web measurement experiment from the material 3 demo
6 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>
6 months ago
Soroush Beigi
1f31580907
Updating samples Dart sdk to the last stable version ( #2209 )
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.
9 months ago
Kevin Moore
5b6d214d2a
[material_3_demo] Use switch expressions ( #2193 )
9 months ago
Kevin Moore
e5f3bacaf8
[material_3_demo] bump min SDK, move time and date components together ( #2192 )
...
Add some icons
Fix component names
9 months ago
John Ryan
b05384a4a6
Add web_startup_analyzer to material_3_demo ( #2152 )
10 months ago
Brett Morgan
0ccc283a4e
Fixup for failing Beta CI ( #2092 )
...
Turns out, we shipped a new Flutter beta as well.
Commenting out `experimental/varfont_shader_puzzle` from beta CI
Everything else is just cleanup.
## 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
Qun Cheng
f741c8ff08
Remove extra parameter from `BottomSheet` ( #2080 )
...
This PR is to fix the warning which is mentioned in #2079
## 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].
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [x] All existing and new tests are passing.
1 year 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
7d169b4d98
Update for 3.13 stable ( #1992 )
1 year ago
Brett Morgan
f1fd4341ff
Flutter beta ( #1952 )
1 year ago
Midori
e461787dc1
Reopen #1740 Fix dialog text ( #1931 )
1 year ago
Biso
51223a0efa
Add null safety check before displaying SnackBar ( #1866 )
1 year ago
Kevin Moore
4f01fbb9c1
Material 3 demo: add tooltips to expanded color picker widgets ( #1848 )
2 years ago
Qun Cheng
13cf346c1f
Update time picker to use 24-hour format ( #1821 )
2 years ago
Qun Cheng
1d6e5a0ece
Use SliverList and cache content height ( #1802 )
2 years ago
Brett Morgan
82e38e5b79
Update samples for Dart 3.0.0 ( #1803 )
2 years 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
Rydmike
faade5f486
FIX: https://github.com/flutter/samples/issues/1752 and https://githu … ( #1753 )
...
…b.com/flutter/samples/issues/1751
Fixes for:
The screen that shows Material elevation and row that says "Surface Tint
Color Only" has shadow and shown elevation dp is wrong.
FIX: https://github.com/flutter/samples/issues/1751
FIX: https://github.com/flutter/samples/issues/1752
## 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
2 years ago
Brett Morgan
31a3d14618
Rebuild runners ( #1725 )
2 years ago
Brett Morgan
3bafa557f7
Update `sdk` constraint range and update runners ( #1706 )
2 years ago
Kevin Moore
d430081b71
material_3_demo: update web scaffold to latest ( #1700 )
2 years ago
Chris Bracken
d53a8ee93f
[Material3] Add RunnerTests target for macOS ( #1670 )
...
In https://github.com/flutter/samples/pull/1615 updates were applied to
the Material 3 demo that included the updated macOS Podfile from the
macOS app template. However, the app template itself had recently been
updated to refer to a new target (RunnerTests) in the default Xcode
project template that allows for authoring tests of the bits of the
Flutter application implemented in Swift. This adds the missing
RunnerTests bits to the Xcode project file by copying those over from
the app template.
2 years ago
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>
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
Brett Morgan
e1f3fb020e
Revert "Improvements to M3 demo app ( #1630 )" ( #1643 )
...
This reverts commit 6207e34192
.
2 years ago
Pierre-Louis
6207e34192
Improvements to M3 demo app ( #1630 )
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
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
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
Brett Morgan
4af443d33f
Drop lock files from repo ( #1282 )
3 years ago
Brett Morgan
58bc5d7a58
Deps update, utilize `super.key` ( #1265 )
...
* Deps update, utilize `super.key`
* `flutter format`
3 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
Brett Morgan
53c83adc71
Revert "Made elements on component screen stay compact on wider screen ( #1258 )" ( #1266 )
...
This reverts commit a9eaf1a733
.
3 years ago
Qun Cheng
a9eaf1a733
Made elements on component screen stay compact on wider screen ( #1258 )
3 years ago
Brett Morgan
ccd68f34e2
Beta ( #1234 )
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