Skip to content

Commit 6656700

Browse files
author
xuyingjun
committed
v1.0.19 fix a padding bug
1 parent 3523550 commit 6656700

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,8 @@
7373

7474
## 1.0.18
7575

76-
* add color property for listRadio
76+
* add color property for listRadio
77+
78+
## 1.0.19
79+
80+
* fix a padding bug

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Global dialog function encapsulation, with a semantic way to fill the content in
1717

1818
```yaml
1919
dependencies:
20-
flutter_custom_dialog: ^1.0.18
20+
flutter_custom_dialog: ^1.0.19
2121
```
2222
2323
**2、import**

README_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
```yaml
1717
dependencies:
18-
flutter_custom_dialog: ^1.0.18
18+
flutter_custom_dialog: ^1.0.19
1919
```
2020
2121
**2、import**

lib/flutter_custom_dialog.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,10 @@ class YYDialog {
276276
crossAxisAlignment: crossAxisAlignment,
277277
children: <Widget>[
278278
Material(
279+
clipBehavior: Clip.antiAlias,
279280
type: MaterialType.transparency,
281+
borderRadius: BorderRadius.circular(borderRadius),
280282
child: Container(
281-
padding: EdgeInsets.all(borderRadius / 3.14),
282283
width: width ?? null,
283284
height: height ?? null,
284285
decoration: decoration ??

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_custom_dialog
22
description: Semantic dialog | Made In YY.inc | Welcome to contribute
3-
version: 1.0.18
3+
version: 1.0.19
44
author: AndroidHensen <xyj510402535@qq.com>
55
homepage: https://github.com/YYFlutter/flutter-custom-dialog.git
66

0 commit comments

Comments
 (0)