File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -144,11 +144,9 @@ import 'package:flutter_custom_dialog/flutter_custom_dialog.dart';
144144 </tr >
145145</table >
146146
147- ** 3、use **
147+ ## ⚡ Dialog Property
148148
149- > 功能属性的设置
150-
151- 属性的设置通过成员变量的方法去调用,具体详见下表
149+ 弹窗的属性设置可以通过成员变量的方法去调用,具体详见下表
152150
153151``` dart
154152YYDialog YYDialogDemo(BuildContext context) {
@@ -167,7 +165,7 @@ YYDialog YYDialogDemo(BuildContext context) {
167165}
168166```
169167
170- 支持的功能属性
168+ 支持的属性
171169
172170property|description|default
173171--|--|--|
@@ -182,7 +180,7 @@ constraints|弹窗约束|最小宽高不低于10%
182180animatedFunc|弹窗出现的动画|从中间出现
183181barrierDismissible|是否点击弹出外部消失|true
184182
185- > 语义化组件
183+ ## ⚡ Semantic Widget
186184
187185弹窗内部的组件内容提前通过语义化的函数封装好常用的组件,以便快速构建出弹窗,具体见下表
188186
@@ -235,6 +233,10 @@ divider|分割线组件
235233height|弹窗高度
236234widget|自定义语义化组件
237235
236+ ## ⚡ Custom Widget
237+
238+ 自定义弹窗内部组件内容
239+
238240* 由于当前已有的语义化组件只是辅助快速搭建UI,在实际项目开发中远远不能满足需求
239241* 所以提供了自定义语义化组件的插入,由开发者自行将组件加入到弹窗内
240242
You can’t perform that action at this time.
0 commit comments