Google I/O 刚过去,有没有想法入 Flutter 呢?Samples 收录了大量 Flutter 编写的示例,你可以学习下来 pick Flutter 的最佳实践。
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
John Ryan
734b961c57
add animations basics 1-6 (#120)
* add basics
* web: update dependencies
* TransferableTypeData added (#116)
* Updating index with new samples (#121)
* use arrow functions
* remove newline
* use verbs: random*() -> generate*()
* remove <Widget>[] type annotation on lists
* use raised button
* _route() => _createRoute()
* add parameter names to pageBuilder
* use the text theme's display1 for large text
* dispose animation controllers before calling super()
* remove local var
* use raised buttons instead of material buttons
* web: updated dependencies
* Added new test scripts (#122)
* add carousel, card_swipe, and focus_image samples (#119)
* add carousel, card_swipe, and focus_image samples
* fix image assets
* fix more asset images
* add repeating animation
* fix import
* add copyright headers
* remove Center widget
* imageAssetName
* use ClipRect, refactor _SwipeableCardState
* use offset.zero
* add comments
* remove reference to coverflow package
* change spread to toList()
* refactor coverflow sample
don't set width and height
use const
data -> images
* return widget directly, fix formatting
* inline transitionsBuilder
* image -> imageAssetName
* _rectTween() => _createTween()
* _expandToPageRoute -> _createRoute
* move non-updating widgets out of AnimatedBuilder
* code review updates to animations demos
|
5 years ago |
animations
|
add animations basics 1-6 (#120)
|
5 years ago |
chrome-os-best-practices
|
Tweaked pubspecs, linted. (#113)
|
5 years ago |
flutter_maps_firestore
|
Tweaked pubspecs, linted. (#113)
|
5 years ago |
isolate_example
|
TransferableTypeData added (#116)
|
5 years ago |
jsonexample
|
Tweaked pubspecs, linted. (#113)
|
5 years ago |
place_tracker
|
Tweaked pubspecs, linted. (#113)
|
5 years ago |
platform_design
|
Tweaked pubspecs, linted. (#113)
|
5 years ago |
platform_view_swift
|
TransferableTypeData added (#116)
|
5 years ago |
provider_counter
|
Tweaked pubspecs, linted. (#113)
|
5 years ago |
provider_shopper
|
Add provider_shopper (#87)
|
5 years ago |
shrine
|
Tweaked pubspecs, linted. (#113)
|
5 years ago |
veggieseasons
|
Tweaked pubspecs, linted. (#113)
|
5 years ago |
web
|
web: updated dependencies
|
5 years ago |
.gitignore
|
Clean up .gitignore and checked in files (#65)
|
6 years ago |
.travis.yml
|
Updating channels on which travis tests (#117)
|
5 years ago |
AUTHORS
|
Removed redundant "const" and "new" assignments & Formatted code. (#58)
|
6 years ago |
CONTRIBUTING.md
|
Samples index (#7)
|
6 years ago |
INDEX.md
|
Updating index with new samples (#121)
|
5 years ago |
LICENSE
|
Initial commit
|
7 years ago |
PATENTS
|
Initial commit
|
7 years ago |
README.md
|
Updates to readme, index. (#33)
|
6 years ago |
customer_testing
|
Added new test scripts (#122)
|
5 years ago |
customer_testing.bat
|
Added new test scripts (#122)
|
5 years ago |
travis_script.sh
|
Add animation samples (#118)
|
5 years ago |
Flutter samples
A collection of open source samples that illustrate best practices for
Flutter.
Index
For a curated list of samples in this repo and elsewhere, see the
index.
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.