mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
1de97a68d4d37b37732a74a5d8a39d346df6423c
* Changes to package import statements Without these changes to the package import statements, if a user uncomments the FirebaseCrashlytics code, they will get a bunch of errors. * Commented out import statements & added instructions * Update crashlytics.dart Upgrade Crashlytics.dart to use recently released fatal crash APIs https://firebase.blog/posts/2022/07/whats-new-in-crashlytics-for-flutter * Ran dart format on changed files
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%