Google I/O 刚过去,有没有想法入 Flutter 呢?Samples 收录了大量 Flutter 编写的示例,你可以学习下来 pick Flutter 的最佳实践。
 
 
 
 
 
 
Go to file
Renzo Olivares 7397bfdaaf
[Simplistic_Editor] Fix delta history color switch on web release build ()
3 years ago
.github Bump github/codeql-action () 3 years ago
add_to_app Bump url_launcher () 3 years ago
android_splash_screen Beta () 3 years ago
animations Beta () 3 years ago
desktop_photo_search Beta () 3 years ago
experimental Beta () 3 years ago
flutter_maps_firestore Beta () 3 years ago
form_app Beta () 3 years ago
game_template Upgrade to latest () 3 years ago
infinite_list Beta () 3 years ago
ios_app_clip Beta () 3 years ago
isolate_example Beta () 3 years ago
jsonexample Beta () 3 years ago
material_3_demo Beta () 3 years ago
navigation_and_routing Beta () 3 years ago
null_safety Beta () 3 years ago
place_tracker Beta () 3 years ago
platform_channels Beta () 3 years ago
platform_design Beta () 3 years ago
platform_view_swift Beta () 3 years ago
provider_counter Beta () 3 years ago
provider_shopper Beta () 3 years ago
simplistic_calculator Beta () 3 years ago
simplistic_editor [Simplistic_Editor] Fix delta history color switch on web release build () 3 years ago
testing_app Beta () 3 years ago
tool Beta () 3 years ago
veggieseasons Beta () 3 years ago
web Beta () 3 years ago
.gitattributes Add a .gitattributes file () 3 years ago
.gitignore Remove binaries from samples. () 3 years ago
.gitmodules Working slide_puzzle () 3 years ago
AUTHORS Add game_template () 3 years ago
CONTRIBUTING.md Update file header date in contributing.md () 4 years ago
LICENSE Adding Rally App to Flutter Samples () 6 years ago
MAINTENANCE.md Upgrade provider shopper () 5 years ago
PATENTS Initial commit 7 years ago
README.md Recommend partial clone instead of shallow clone, remove unused blobs () 3 years ago
analysis_options.yaml Add `unawaited_futures` () 3 years ago

README.md

Flutter samples

Build Status

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.