1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00
Commit Graph

4 Commits

Author SHA1 Message Date
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
2024-09-21 04:34:12 +10:00
Soroush Beigi
1f31580907 Updating samples Dart sdk to the last stable version (#2209) 2024-03-24 21:29:55 +11:00
Brett Morgan
31a3d14618 Rebuild runners (#1725) 2023-04-08 07:44:56 +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