mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
## 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/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
46 lines
1.5 KiB
Markdown
46 lines
1.5 KiB
Markdown
# Flutter samples
|
|
|
|
[](https://github.com/flutter/samples/actions?workflow=Main%20Branch%20CI)
|
|
|
|
A collection of open source samples that illustrate best practices for
|
|
[Flutter](https://flutter.dev).
|
|
|
|
## 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](https://flutter.github.io/samples).
|
|
|
|
## 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](https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-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](CONTRIBUTING.md)!
|
|
|
|
## 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:
|
|
|
|
* [The FlutterDev Discord](https://discord.gg/rflutterdev)
|
|
* [StackOverflow](https://stackoverflow.com/questions/tagged/flutter)
|
|
|
|
If you run into a bug in one of the samples, please file an issue in the
|
|
[`flutter/samples` issue tracker](https://github.com/flutter/samples/issues).
|
|
|