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 6a9ab57

Browse files
author
xuyingjun
committed
1.0.21
1 parent c459de9 commit 6a9ab57

File tree

9 files changed

+110
-71
lines changed

9 files changed

+110
-71
lines changed

β€ŽCHANGELOG.md

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

8282
## 1.0.20
8383

84-
* add a useRootNavigator property
84+
* add a useRootNavigator property
85+
86+
## 1.0.21
87+
88+
* Add SpaceEvenly Gravity

β€Ž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.20
20+
flutter_custom_dialog: ^1.0.21
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.20
18+
flutter_custom_dialog: ^1.0.21
1919
```
2020
2121
**2、import**
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +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εΉ΄08月16ζ—₯ 17:32:14.319764","version":"2.2.3"}

β€Žexample/lib/main.dart

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ showAlertDialog(BuildContext context) {
7474
),
7575
Row(
7676
children: <Widget>[
77-
makeTextButton("bottomsheet", () {
77+
makeTextButton("bottom\nsheet", () {
7878
YYBottomSheetDialog();
7979
}),
8080
makeTextButton("progress", () {
@@ -203,6 +203,12 @@ showAlertDialog(BuildContext context) {
203203
doubleButtonGravity: Gravity.center,
204204
);
205205
}),
206+
makeTextButton("space\nEvenly", () {
207+
YYAlertDialogWithGravity(
208+
width: 250.0,
209+
doubleButtonGravity: Gravity.spaceEvenly,
210+
);
211+
}),
206212
],
207213
),
208214
Text("5、dialog animation"),
@@ -239,7 +245,7 @@ showDevelopDialog(BuildContext context) {
239245
Text("1、debug"),
240246
Row(
241247
children: <Widget>[
242-
makeTextButton("fix dismiss\nbug in v1.0.1", () {
248+
makeTextButton("fix dismiss\nbug", () {
243249
Navigator.push(
244250
context,
245251
MaterialPageRoute(
@@ -272,7 +278,7 @@ showDevelopDialog(BuildContext context) {
272278

273279
Widget makeTextButton(title, Function() function) {
274280
return SizedBox(
275-
width: 70.0,
281+
width: 65.0,
276282
height: 35.0,
277283
child: RaisedButton(
278284
padding: EdgeInsets.all(0.0),

β€Žexample/pubspec.lock

Lines changed: 39 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -7,35 +7,56 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.3.0"
10+
version: "2.6.1"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
1414
name: boolean_selector
1515
url: "https://pub.dartlang.org"
1616
source: hosted
17-
version: "1.0.5"
17+
version: "2.1.0"
18+
characters:
19+
dependency: transitive
20+
description:
21+
name: characters
22+
url: "https://pub.dartlang.org"
23+
source: hosted
24+
version: "1.1.0"
1825
charcode:
1926
dependency: transitive
2027
description:
2128
name: charcode
2229
url: "https://pub.dartlang.org"
2330
source: hosted
24-
version: "1.1.2"
31+
version: "1.2.0"
32+
clock:
33+
dependency: transitive
34+
description:
35+
name: clock
36+
url: "https://pub.dartlang.org"
37+
source: hosted
38+
version: "1.1.0"
2539
collection:
2640
dependency: transitive
2741
description:
2842
name: collection
2943
url: "https://pub.dartlang.org"
3044
source: hosted
31-
version: "1.14.11"
45+
version: "1.15.0"
3246
cupertino_icons:
3347
dependency: "direct main"
3448
description:
3549
name: cupertino_icons
3650
url: "https://pub.dartlang.org"
3751
source: hosted
3852
version: "0.1.2"
53+
fake_async:
54+
dependency: transitive
55+
description:
56+
name: fake_async
57+
url: "https://pub.dartlang.org"
58+
source: hosted
59+
version: "1.2.0"
3960
flutter:
4061
dependency: "direct main"
4162
description: flutter
@@ -47,7 +68,7 @@ packages:
4768
path: ".."
4869
relative: true
4970
source: path
50-
version: "1.0.19"
71+
version: "1.0.21"
5172
flutter_test:
5273
dependency: "direct dev"
5374
description: flutter
@@ -59,35 +80,21 @@ packages:
5980
name: matcher
6081
url: "https://pub.dartlang.org"
6182
source: hosted
62-
version: "0.12.5"
83+
version: "0.12.10"
6384
meta:
6485
dependency: transitive
6586
description:
6687
name: meta
6788
url: "https://pub.dartlang.org"
6889
source: hosted
69-
version: "1.1.7"
90+
version: "1.3.0"
7091
path:
7192
dependency: transitive
7293
description:
7394
name: path
7495
url: "https://pub.dartlang.org"
7596
source: hosted
76-
version: "1.6.4"
77-
pedantic:
78-
dependency: transitive
79-
description:
80-
name: pedantic
81-
url: "https://pub.dartlang.org"
82-
source: hosted
83-
version: "1.8.0+1"
84-
quiver:
85-
dependency: transitive
86-
description:
87-
name: quiver
88-
url: "https://pub.dartlang.org"
89-
source: hosted
90-
version: "2.0.5"
97+
version: "1.8.0"
9198
sky_engine:
9299
dependency: transitive
93100
description: flutter
@@ -99,55 +106,56 @@ packages:
99106
name: source_span
100107
url: "https://pub.dartlang.org"
101108
source: hosted
102-
version: "1.5.5"
109+
version: "1.8.1"
103110
stack_trace:
104111
dependency: transitive
105112
description:
106113
name: stack_trace
107114
url: "https://pub.dartlang.org"
108115
source: hosted
109-
version: "1.9.3"
116+
version: "1.10.0"
110117
stream_channel:
111118
dependency: transitive
112119
description:
113120
name: stream_channel
114121
url: "https://pub.dartlang.org"
115122
source: hosted
116-
version: "2.0.0"
123+
version: "2.1.0"
117124
string_scanner:
118125
dependency: transitive
119126
description:
120127
name: string_scanner
121128
url: "https://pub.dartlang.org"
122129
source: hosted
123-
version: "1.0.5"
130+
version: "1.1.0"
124131
term_glyph:
125132
dependency: transitive
126133
description:
127134
name: term_glyph
128135
url: "https://pub.dartlang.org"
129136
source: hosted
130-
version: "1.1.0"
137+
version: "1.2.0"
131138
test_api:
132139
dependency: transitive
133140
description:
134141
name: test_api
135142
url: "https://pub.dartlang.org"
136143
source: hosted
137-
version: "0.2.5"
144+
version: "0.3.0"
138145
typed_data:
139146
dependency: transitive
140147
description:
141148
name: typed_data
142149
url: "https://pub.dartlang.org"
143150
source: hosted
144-
version: "1.1.6"
151+
version: "1.3.0"
145152
vector_math:
146153
dependency: transitive
147154
description:
148155
name: vector_math
149156
url: "https://pub.dartlang.org"
150157
source: hosted
151-
version: "2.0.8"
158+
version: "2.1.0"
152159
sdks:
153-
dart: ">=2.2.2 <3.0.0"
160+
dart: ">=2.12.0 <3.0.0"
161+
flutter: ">=1.12.0"

β€Žlocal.properties

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## This file must *NOT* be checked into Version Control Systems,
2+
# as it contains information specific to your local configuration.
3+
#
4+
# Location of the SDK. This is only used by Gradle.
5+
# For customization when using a Version Control System, please read the
6+
# header note.
7+
#Mon Aug 16 16:54:26 CST 2021
8+
sdk.dir=C\:\\Users\\Administrator\\AppData\\Local\\Android\\Sdk

0 commit comments

Comments
(0)

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /