mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
3f5ab56485a37fb33e417de2990f0fced884d914
* Add workflow to build and deploy the sample index * update gh-pages action * fix yaml * create web/ directory in build * grammar * add ignored directories * revert pubspec.lock files * add job to run _tool/verify_samples.dart * Update filipino_cuisine for Flutter 2 * remove timeflow demo. The unnamed List constructor is now deprecated, refactoring this code to use add() requires more knowledge about the code for this demo. https://dart.dev/null-safety/understanding-null-safety#no-unnamed-list-constructor * update slide_puzzle * ensure stable channel is used to verify * move verify web demos action into separate yaml file - avoid running on each flutter version. * add on: pull_request * update slide_puzzle * Update gh-pages.yml * Add copyright header
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 shallow clone to download just the latest revision:
git clone --depth 1 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 main Flutter repo.
Description
Languages
Dart
71%
C++
11.4%
CMake
8.7%
Kotlin
2.2%
Swift
1.9%
Other
4.8%