Skip to content

Commit 37753db

Browse files
author
xuyingjun
committed
read me
1 parent 48a213b commit 37753db

File tree

6 files changed

+65
-56
lines changed

6 files changed

+65
-56
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,29 @@ import 'package:flutter_custom_dialog/flutter_custom_dialog.dart';
6767
βœ…
6868
</td>
6969
</tr>
70+
<tr>
71+
<td align="center">
72+
<img src="https://github.com/YYFlutter/flutter-custom-dialog/raw/master/image/png/6.png" width="150px">
73+
<br />
74+
progress
75+
<br />
76+
βœ…
77+
</td>
78+
<td align="center">
79+
<img src="https://github.com/YYFlutter/flutter-custom-dialog/raw/master/image/png/7.png" width="150px">
80+
<br />
81+
progress&body
82+
<br />
83+
βœ…
84+
</td>
85+
<td align="center">
86+
<img src="https://github.com/YYFlutter/flutter-custom-dialog/raw/master/image/png/8.png" width="150px">
87+
<br />
88+
pop menu
89+
<br />
90+
βœ…
91+
</td>
92+
</tr>
7093
</table>
7194

7295
> dialog_gravity

β€ŽREADME_CN.mdβ€Ž

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,29 @@ import 'package:flutter_custom_dialog/flutter_custom_dialog.dart';
6565
βœ…
6666
</td>
6767
</tr>
68+
<tr>
69+
<td align="center">
70+
<img src="https://github.com/YYFlutter/flutter-custom-dialog/raw/master/image/png/6.png" width="150px">
71+
<br />
72+
progress
73+
<br />
74+
βœ…
75+
</td>
76+
<td align="center">
77+
<img src="https://github.com/YYFlutter/flutter-custom-dialog/raw/master/image/png/7.png" width="150px">
78+
<br />
79+
progress&body
80+
<br />
81+
βœ…
82+
</td>
83+
<td align="center">
84+
<img src="https://github.com/YYFlutter/flutter-custom-dialog/raw/master/image/png/8.png" width="150px">
85+
<br />
86+
pop menu
87+
<br />
88+
βœ…
89+
</td>
90+
</tr>
6891
</table>
6992

7093
> dialog_gravity

β€Žexample/lib/main.dartβ€Ž

Lines changed: 19 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ class AppHome extends StatelessWidget {
2828
child: Column(
2929
children: <Widget>[
3030
showAlertDialog(context),
31-
showListViewDialog(context),
32-
showProgressDialog(context),
3331
showDevelopDialog(context),
3432
],
3533
),
@@ -57,6 +55,25 @@ showAlertDialog(BuildContext context) {
5755
makeTextButton("divider", () {
5856
YYAlertDialogWithDivider(context);
5957
}),
58+
makeTextButton("listTile", () {
59+
YYListViewDialogListTile(context);
60+
}),
61+
makeTextButton("listRadio", () {
62+
YYListViewDialogListRadio(context);
63+
}),
64+
],
65+
),
66+
Row(
67+
children: <Widget>[
68+
makeTextButton("nobody", () {
69+
YYProgressDialogNoBody(context);
70+
}),
71+
makeTextButton("body", () {
72+
YYProgressDialogBody(context);
73+
}),
74+
makeTextButton("pop\nmenu", () {
75+
YYAlertDialogPopMenu(context);
76+
}),
6077
],
6178
),
6279
Text("2、dialog property"),
@@ -192,60 +209,6 @@ showAlertDialog(BuildContext context) {
192209
}),
193210
],
194211
),
195-
Text("6、projects using"),
196-
Row(
197-
children: <Widget>[
198-
makeTextButton("pop\nmenu", () {
199-
YYAlertDialogPopMenu(context);
200-
}),
201-
],
202-
),
203-
],
204-
),
205-
);
206-
}
207-
208-
showListViewDialog(BuildContext context) {
209-
return Padding(
210-
padding: EdgeInsets.all(8.0),
211-
child: Column(
212-
crossAxisAlignment: CrossAxisAlignment.start,
213-
children: <Widget>[
214-
Text("YYListViewDialog", style: titleTextStyle),
215-
Text("1、demo"),
216-
Row(
217-
children: <Widget>[
218-
makeTextButton("listTile", () {
219-
YYListViewDialogListTile(context);
220-
}),
221-
makeTextButton("listRadio", () {
222-
YYListViewDialogListRadio(context);
223-
}),
224-
],
225-
),
226-
],
227-
),
228-
);
229-
}
230-
231-
showProgressDialog(BuildContext context) {
232-
return Padding(
233-
padding: EdgeInsets.all(8.0),
234-
child: Column(
235-
crossAxisAlignment: CrossAxisAlignment.start,
236-
children: <Widget>[
237-
Text("YYProgressDialog", style: titleTextStyle),
238-
Text("1、demo"),
239-
Row(
240-
children: <Widget>[
241-
makeTextButton("nobody", () {
242-
YYProgressDialogNoBody(context);
243-
}),
244-
makeTextButton("body", () {
245-
YYProgressDialogBody(context);
246-
}),
247-
],
248-
),
249212
],
250213
),
251214
);

β€Žimage/png/6.pngβ€Ž

4.75 KB
Loading

β€Žimage/png/7.pngβ€Ž

6.12 KB
Loading

β€Žimage/png/8.pngβ€Ž

8.9 KB
Loading

0 commit comments

Comments
Β (0)