flutter-by-example
一组简单的、基础的 Flutter 应用程序,每个都演示一个概念
- 星标
- 1063
- 复刻
- 251
- 最近推送(UTC)
- 2020年10月1日
- 项目状态
- 未归档
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
flutter-by-example
A collection of simple, bare-bones Flutter apps that each demonstrate a concept
The apps are slowly being updated to Dart 2; be sure to use the --preview-dart-2 flag when running/compiling these examples
Apps
- Hello World: one-line Flutter app Updated for Dart 2
- Material Navigation: two screen Flutter that demonstrates navigation using Material
- (2.1) Routing with data: passing data between navigation routes
- TextField: example of a simple single-line text field and a multi-line text field with a submit button
- HTTP: fetching text and images over http
- Layouts: example widget Layouts
- Lists: example list view
- (6.1) Dynamic lists: create a dynamic (infinite) list with dividers
- Stacks: how to render widgets at set positions in a stack
- Inherited Widgets: how to use inherited widgets to pass data down a widget tree
- i18n: simple example of i18n support in Flutter
- Driver Testing: a simple demonstration driver test
- JSON Parsing: parses a JSON network response
- Streams: handle state updates using streams
- (12.1) StreamBuilder: handle state updates using StreamBuilder
- (12.2) RxDart: handle state updates using StreamBuilder with Observables
- (12.3) JSON with Streams: HTTP and JSON parsing using streams
- Bottom Nav Bar: Simple bottom nav bar implementation, using Stack and OffStage
- Custom Painter: implements a basic bar chart using a custom painter
- Tabs: tabbed pages demo
Flutter Docs
For help getting started with Flutter, view Flutter's online documentation.
语言DartMakefileObjective-CJavaKotlinSwiftRubyShellHTML
分类
所在榜单
如何选择适合项目的代码仓?
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
- 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
- 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
- 使用前在 GitHub 核对 README、许可证与 Issues。
来源与维护
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗