Kishan Rathore 3bf6754d48
Migrate to Theme.brightnessOf method (#163950)
Refactor: Migrate to Theme.brightnessOf method
fixes: #163837

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [ ] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.
2025-04-03 00:34:53 +00:00
..
2024-12-19 20:06:21 +00:00
2025-04-02 22:38:54 +00:00

Flutter Gallery

NOTE: The Flutter Gallery is now deprecated, and no longer being active maintained.

Flutter Gallery was a resource to help developers evaluate and use Flutter. It is now being used primarily for testing. For posterity, the web version remains hosted here.

We recommend Flutter developers check out the following resources:

  • Wonderous (web demo, App Store, Google Play, source code):
    A Flutter app that showcases Flutter's support for elegant design and rich animations.

  • Material 3 Demo (web demo, source code):
    A Flutter app that showcases Material 3 features in the Flutter Material library.

  • Flutter Samples (samples, source code):
    A collection of open source samples that illustrate best practices for Flutter.

  • Widget catalogs (Material, Cupertino):
    Catalogs for Material, Cupertino, and other widgets available for use in UI.