Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit db42ef8

Browse files
1.3.0
1 parent e0f3797 commit db42ef8

File tree

6 files changed

+41
-72
lines changed

6 files changed

+41
-72
lines changed

‎.idea/workspace.xml

Lines changed: 34 additions & 64 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎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.2.0
20+
flutter_custom_dialog: ^1.3.0
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.2.0
18+
flutter_custom_dialog: ^1.3.0
1919
```
2020
2121
**2、import**

‎example/.flutter-plugins-dependencies

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_custom_dialog","path":"C:\\\\YYLive4-OpenSource\\\\flutter-custom-dialog\\\\","dependencies":[]}],"android":[{"name":"flutter_custom_dialog","path":"C:\\\\YYLive4-OpenSource\\\\flutter-custom-dialog\\\\","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"flutter_custom_dialog","dependencies":[]}],"date_created":"2021年10月22日 16:32:26.122793","version":"2.5.3"}
1+
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_custom_dialog","path":"C:\\\\YYLive4-OpenSource\\\\flutter-custom-dialog\\\\","dependencies":[]}],"android":[{"name":"flutter_custom_dialog","path":"C:\\\\YYLive4-OpenSource\\\\flutter-custom-dialog\\\\","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"flutter_custom_dialog","dependencies":[]}],"date_created":"2022年09月08日 10:51:06.169356","version":"2.5.3"}

‎lib/flutter_custom_dialog.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ class YYDialog {
125125
}
126126
},
127127
style: TextButton.styleFrom(
128+
primary: color1 ?? Colors.black,
128129
padding: buttonPadding1,
129130
textStyle: TextStyle(
130-
color: color1 ?? null,
131-
fontSize: fontSize1 ?? null,
131+
fontSize: fontSize1 ?? 18.0,
132132
fontWeight: fontWeight1,
133133
fontFamily: fontFamily1,
134134
)
@@ -149,9 +149,9 @@ class YYDialog {
149149
}
150150
},
151151
style: TextButton.styleFrom(
152+
primary: color2 ?? Colors.black,
152153
padding: buttonPadding2,
153154
textStyle: TextStyle(
154-
color: color2 ?? Colors.black,
155155
fontSize: fontSize2 ?? 14.0,
156156
fontWeight: fontWeight2,
157157
fontFamily: fontFamily2,

‎pubspec.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: flutter_custom_dialog
22
description: Semantic dialog | Made In YY.inc | Welcome to contribute
3-
version: 1.2.0
3+
version: 1.3.0
44
homepage: https://github.com/YYFlutter/flutter-custom-dialog.git
5-
publish_to: 'https://pub.dev'
65

76
environment:
87
sdk: ">=2.12.0 <3.0.0"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /