登录 注册
内容创作与媒体工具开发者工具数据分析与数据处理
1,245
Stars
154
Forks
42
Watchers
0
Open Issues
MIT
许可证
Dart
语言
2020-11-30
创建时间
2026-11-06
最近更新

项目能做什么

一种更优雅、功能丰富的 Flutter 自定义 Dialog 解决方案。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
[![pub](https://img.shields.io/pub/v/flutter_smart_dialog?label=pub&logo=dart)](https://pub.dev/packages/flutter_smart_dialog/install) [![stars](https://img.shields.io/github/stars/fluttercandies/flutter_smart_dialog?logo=github)](https://github.com/fluttercandies/flutter_smart_dialog)  [![issues](https://img.shields.io/github/issues/fluttercandies/flutter_smart_dialog?logo=github)](https://github.com/fluttercandies/flutter_smart_dialog/issues) [![commit](https://img.shields.io/github/last-commit/fluttercandies/flutter_smart_dialog?logo=github)](https://github.com/fluttercandies/flutter_smart_dialog/commits)

Feature and Usage(Must read!):[super detailed guide](https://xdd666t.github.io/flutter_use/web/index.html#/smartDialog)

功能和用法(必看!): [超详细指南](https://xdd666t.github.io/flutter_use/web/index.html#/smartDialog)

***

Language:  English | [中文](https://juejin.cn/post/7026150456673959943)

Migrate doc:[3.x migrate 4.0](https://github.com/fluttercandies/flutter_smart_dialog/blob/master/docs/3.x%20migrate%204.0.md) | [3.x 迁移 4.0](https://juejin.cn/post/7093867453012246565)

Flutter 2:Please use `flutter_smart_dialog: 4.2.5`

# Introduction

An elegant Flutter Dialog solution.

# Some Effect

![attachLocationAndPoint](https://raw.githubusercontent.com/xdd666t/MyData/master/pic/flutter/blog/20220103160140.gif)

![attachHighlight](https://raw.githubusercontent.com/xdd666t/MyData/master/pic/flutter/blog/20220103160210.gif)

![dialogStack](https://raw.githubusercontent.com/xdd666t/MyData/master/pic/flutter/blog/20211216222718.gif)

![loadingCustom](https://raw.githubusercontent.com/xdd666t/MyData/master/pic/flutter/blog/202201140931573.gif)

![toastCustom](https://raw.githubusercontent.com/xdd666t/MyData/master/pic/flutter/blog/20211103092253.gif)

# Advantage

- **Do not need BuildContext**
- **Can penetrate dark background, click on the page behind dialog**
- **Support dialog stack,close the specified dialog**

- **Support positioning widget, display the specified location dialog**
- **Support highlight feature,dissolve the specified location mask**

- **Easily implement toast,loading,attach dialog,custome dialog,custome notify**

# Quick start

## Install

- **latest version:[install pub](https://pub.flutter-io.cn/packages/flutter_smart_dialog/install)**

## Initialization

> **initialization**

```dart
void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: HomePage,
      // here
      navigatorObservers: [FlutterSmartDialog.observer],
      // here
      builder: FlutterSmartDialog.init(),
    );
  }
}
```

> **Advanced initialization: configure global custom Loading and Toast**

SmartDialog's showLoading and showToast provide a default style. Of course, custom param are definitely supported.

- SmartDialog custom Loading or Toast is very simple: However, when using it, it may make you feel a little troublesome
- for example
  - Use custom Loading:
阅读完整原文

商业机会分析 AI 生成

Flutter Pro UI Kit:高级商业弹窗与交互套件(商业授权)

产品构想基于 flutter_smart_dialog 的底层架构,封装开箱即用的高阶商业弹窗样式库(如应用内更新、评分弹窗、权限申请、优惠券弹层、高级 Toast 动效库)。
核心功能30+ 款高质感商业弹窗模板、Lottie 动效深度集成、一键响应式多端适配、支持主题切换与统一设计语言扩展。
目标用户独立开发者、外包团队、中小 Flutter 研发团队。
难度/周期中等 · 1 - 2 个月 · 成本:极低(主要是设计资源和编码时间成本)
收费模式一次性买断授权(Gumroad/Pub.dev 私有源售卖),提供终身更新或多项目商业授权许可。
竞争风险开源社区内免费替代品较多,若设计质感不够突出难以形成购买动力。
依据 已验证事实(仓库已支持丰富的自定义 builder 与样式扩展)

Flutter User Onboarding & Showcase(应用新手引导商业插件)

产品构想将项目拥有的 highlight(镂空高亮)与 attach(目标定位)能力深度产品化,做成专门的新手引导(CoachMark/Feature Tour)商业插件或 SaaS 配套。
核心功能步骤驱动引导流(Step-by-step)、镂空多边形与动画提示、手势穿透交互、引导完成率打点统计集成。
目标用户有用户留存与转化需求的中大型 App 团队、Flutter 产品经理。
难度/周期中等 · 2 - 3 个月 · 成本:低(主要为示例 Demo、文档与测试用例开发)
收费模式双许可模式(双重协议)或企业商业闭源插件(按项目或团队年订阅)。
竞争风险市场上有诸如 tutorial_coach_mark 等免费开源竞品,需强化开箱即用度与无 Context 调用的易用优势。
依据 数据支持的判断(README 明确展示 attachHighlight 功能,是新手引导的核心技术底层)

面向出海/企业客户的 Flutter 交互与弹窗系统定制服务

产品构想提供基于 flutter_smart_dialog 的大前端统一弹窗/Toast/Notification 系统集成咨询、性能调优及定制业务需求开发。
核心功能全局路由与弹窗栈冲突排查、复杂图层穿透与手势响应定制、多窗口/多屏幕(Desktop)适配咨询、企业私有 UI 规范深度绑定。
目标用户技术栈迁移至 Flutter 的传统企业、缺乏跨端交互沉淀的技术团队。
难度/周期较高(依赖工程交付经验与客户沟通) · 按需(1 - 4 周/项目) · 成本:人力成本
收费模式技术咨询费、合同制外包技术支持费。
竞争风险服务交付难以规模化复制,获客依赖技术社区个人影响力与被动咨询。
依据 AI推测
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

项目中文简介Stars语言
cirosantilli/china-dictatorship 中文介绍暂未生成
反中共政治宣传库。Anti Chinese government propaganda. 住在中国真名用户的网友请别给星
3,333 HTML
gege-circle/.github 中文介绍暂未生成
这里是GitHub的草场,也是戈戈圈爱好者的交流地,主要讨论动漫、游戏、科技、人文、生活等所有话题,欢迎各位小伙伴们在此
2,093 -
cirosantilli/china-dictatroship-7 中文介绍暂未生成
反中共政治宣传库。Anti Chinese government propaganda. https://github.
389 HTML
mRFWq7LwNPZjaVv5v6eo/cihna-dictattorshrip-8 中文介绍暂未生成
反中共政治宣传库。Anti Chinese government propaganda. https://github.
216 HTML
panbinibn/OpenPacketFix_ 中文介绍暂未生成
大陆修宪香港恶法台湾武统朝鲜毁约美中冷战等都是王沪宁愚弄习思想极左命运共同体的大策划中共窃国这半个多世纪所犯下的滔天罪恶
214 -
zpc1314521/PCL2 中文介绍暂未生成
[stays mad] 反PCL宣传库。Anti PCL propaganda. 大陆修宪香港恶法台湾武统朝鲜毁约美中冷
133 -
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建于 2020-11-30,近 30 天仍在推送,发布过 34 个 Release
社区活跃Star 1,245 / Fork 154 / Issue 0(数据支持,可自行核实)
许可证MIT
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

快速开始(以仓库 README 为准)
git clone https://github.com/fluttercandies/flutter_smart_dialog.git
cd flutter_smart_dialog
# 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
阅读原仓库文档
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。