项目 / nisrulz/flutter-examples

nisrulz/flutter-examples

行业推荐
语言 Dart标签 dartlangdartandroidiosflutterapplication-frameworkobjective-cjavagoogle-fluttercross-platformflutter-appsflutter-examplesflutter-materialswift数据更新 2026-11-20 06:49:16 · 仓库 2026-11-19

一段话介绍

面向 Flutter 初学者的示例应用集合,每个文件夹都是可单独运行的独立应用,用来演示框架中的功能、用法和集成方式。源文写明示例被拆成外壳与示范代码:`lib/main.dart` 负责搭好 MaterialApp,具体概念写在 `lib/example.dart`。克隆仓库后执行 `make packages`,再进入对应示例目录运行 `flutter run`。完整安装与运行说明见仓库中的入门文档,示例清单见 documentation 目录。项目页见 [nisrulz.com/flutter-examples](https://nisrulz.com/flutter-examples/),说明见[仓库 README](https://github.com/nisrulz/flutter-examples)。

本站整理,非 GitHub 官方 description。

官方 description(GitHub API 原样)
[Examples] Simple basic isolated apps, for budding flutter devs.
7,152累计星
1,632Fork
—峰值日增
0上榜次数
总榜
暂未入榜
日榜
暂未入榜
周榜
暂未入榜
月榜
暂未入榜

官方快照(gh_history.db,2026-11-25):总榜 未进 Top50 · 日榜 未进 Top50 · 周榜未满 7 天基线(官方不生成) · 月榜暂无官方口径;下方四卡为站内趋势聚合(周卡按上榜次数,非官方 7 日增量窗)。

行业与场景

按行业选型 →

智能题库与自动阅卷

适配系统:考试系统、题库系统 · 得分 1.3

提供组卷、作答与自动评分链路,可嵌入考试系统降低教师批改成本。

更多信息

以下三段按该项目自己的 GitHub README 章节摘录(可合理截断并标明);README 没有对应章节的留空,不编造。

我的用法
每个示例由 wrapper 与示例代码两部分组成:lib/main.dart 搭建 MaterialApp,lib/example.dart 展示核心概念,运行只需进入示例目录执行 flutter run。
特点或设计要点
该项目曾获官方 Flutter Samples、Flutter Weekly 第 11 期以及 Awesome Flutter 演示列表等多方收录推荐。
星标走势还差一天的数据,明天就能看到曲线
每天 10:30 记一次星标,连续两天后自动生成曲线
首次发现 — · 最近在榜 2026-08-17 · 语言 Dart · 贡献者 —
dart

GitHub 项目主页介绍

来自 GitHub 仓库 README / 主页介绍正文,原样摘录,共 3,166 字节。

![Image](img/github_banner.png)

### Show some :heart: and star the repo to support the project

[![GitHub stars](https://img.shields.io/github/stars/nisrulz/flutter-examples.svg?style=social&label=Star)](https://github.com/nisrulz/flutter-examples) [![GitHub forks](https://img.shields.io/github/forks/nisrulz/flutter-examples.svg?style=social&label=Fork)](https://github.com/nisrulz/flutter-examples/fork) [![GitHub watchers](https://img.shields.io/github/watchers/nisrulz/flutter-examples.svg?style=social&label=Watch)](https://github.com/nisrulz/flutter-examples) [![GitHub followers](https://img.shields.io/github/followers/nisrulz.svg?style=social&label=Follow)](https://github.com/nisrulz/flutter-examples)  
[![Twitter Follow](https://img.shields.io/twitter/follow/nisrulz.svg?style=social)](https://twitter.com/nisrulz)

Example apps demonstrating features, functionality, and integrations in [Flutter](https://flutter.dev/). Each folder is a standalone app you can run as-is.

### Featured In

- [Official Flutter Samples](https://github.com/flutter/samples/blob/d500d15c0f098b56e5bd549b32485cedba4843ef/INDEX.md#flutter-examples--)
- [Flutter Weekly #11](https://mailchi.mp/5db146a7468b/flutter-weekly-11)
- [Awesome Flutter](https://github.com/Solido/awesome-flutter#demonstrations)

<img src="stateful_widget/demo_img.gif" height="300em" /> <img src="using_bottom_nav_bar/demo_img.gif" height="300em" /> <img src="dropdown_button/demo_img.gif" height="300em" /> <img src="using_stepper/demo_img.gif" height="300em" /> <img src="using_tabs/demo_img.gif" height="300em" /><img src="bottom_sheet/demo.gif" height="300em"/><img src="sliver_app_bar_example/demo_img.gif" height="300em" /><img src="custom_home_drawer/demo_img.jpeg" height="300em" />

## Getting started

```bash
git clone https://github.com/nisrulz/flutter-examples.git
cd flutter-examples
make packages
cd <example-folder>
flutter run
```

New to Flutter? See [Getting Started](/documentation/GETTING_STARTED.md) for full setup and run instructions.

Each example app is split into a wrapper and focused code. `lib/main.dart` sets up
the `MaterialApp`, and `lib/example.dart` contains the code that demonstrates the
concept. Open `lib/example.dart` to see what the app teaches.

## Documentation

- [Example Apps](/documentation/EXAMPLES.md): all examples in this repository
- [Getting Started](/documentation/GETTING_STARTED.md): setup, run, and download a single example
- [Maintenance](/documentation/MAINTENANCE.md): available `make` commands
- [Contributing](/documentation/CONTRIBUTING.md): how to submit pull requests

## Author & support

This project was created by [Nishant Srivastava](https://github.com/nisrulz/nisrulz.github.io#nishant-srivastava) but hopefully developed and maintained by many others. See the [list of contributors here](https://github.com/nisrulz/flutter-examples/graphs/contributors).

If you appreciate my work, consider [buying me](https://www.paypal.me/nisrulz/5usd) a cup of :coffee: to keep me recharged :metal: [[PayPal](https://www.paypal.me/nisrulz/5usd)]


## License

This project is licensed under the [Apache License, Version 2.0](LICENSE.txt).
↑