mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
18ead8138affae3379a4a25c65102bd3a897bc90
context_menus (#1948)
Enable Material 3 #### Before Material 3 <img width="912" alt="Screenshot 2023-07-20 at 13 53 16" src="https://github.com/flutter/samples/assets/2494376/f2686f50-f08b-4810-a35b-62b7247a1327"> <img width="912" alt="Screenshot 2023-07-20 at 13 53 08" src="https://github.com/flutter/samples/assets/2494376/7b3882bd-ba32-4a29-b262-482b2af028a5"> #### With Material 3 <img width="912" alt="Screenshot 2023-07-20 at 13 54 12" src="https://github.com/flutter/samples/assets/2494376/15cb182d-8191-4afa-953b-cc037944ecee"> <img width="912" alt="Screenshot 2023-07-20 at 13 54 06" src="https://github.com/flutter/samples/assets/2494376/46151882-309f-4b7d-a2c3-a3700f6b8c17"> ## Pre-launch Checklist - [ ] I read the [Flutter Style Guide] _recently_, and have followed its advice. - [ ] I signed the [CLA]. - [ ] I read the [Contributors Guide]. - [ ] I updated/added relevant documentation (doc comments with `///`). - [ ] 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 --------- Co-authored-by: Brett Morgan <brettmorgan@google.com>
Flutter samples
A collection of open source samples that illustrate best practices for Flutter.
Visual samples index
The easiest way to browse through the samples in this repo (as well as a few others!) is the visual samples index.
Tip: minimize download size
As this repository is quite big, you can use svn to download a single example. For example:
svn co https://github.com/flutter/samples/trunk/provider_shopper
You can also use a partial clone to skip blob objects that aren't currently checked out, while including the full commit history:
git clone --filter=blob:none https://github.com/flutter/samples.git
Interested in contributing?
See the contributor's guide!
Questions or issues?
If you have a general question about one of these samples or how to adapt its techniques for one of your own apps, try one of these resources:
If you run into a bug in one of the samples, please file an issue in the
flutter/samples issue tracker.
Description
Languages
Dart
71%
C++
11.4%
CMake
8.7%
Kotlin
2.2%
Swift
1.9%
Other
4.8%