@@ -17,7 +17,7 @@ Global dialog function encapsulation, with a semantic way to fill the content in
17
17
18
18
``` yaml
19
19
dependencies :
20
- flutter_custom_dialog : ^1.0.15
20
+ flutter_custom_dialog : ^1.0.16
21
21
` ` `
22
22
23
23
**2、import**
@@ -270,6 +270,7 @@ gravity|Where the dialog appears|center
270
270
gravityAnimationEnable|The dialog appears with the default animation available|false
271
271
margin|The margin of a dialog|EdgeInsets.all(0.0)
272
272
barrierColor|Dialog barrierColor|30% of black
273
+ decoration|Dialog decoration|null
273
274
backgroundColor|Dialog backgroundColor|white
274
275
borderRadius|Dialog borderRadius|0.0
275
276
constraints|Dialog constraints|no constraints
@@ -278,6 +279,9 @@ showCallBack|dialog show callbacks|not
278
279
dismissCallBack|dialog dismiss callbacks|not
279
280
barrierDismissible|Whether to click to pop up the external disappear|true
280
281
282
+ * After setting gravity, set gravityAnimationEnable = true if animation is needed
283
+ * If the decoration property is set, the backgroundColor and borderRadius are not in effect; they are mutually exclusive
284
+
281
285
Supported method
282
286
283
287
method|description
0 commit comments