Skip to content

Commit a633f1b

Browse files
committed
布局
1 parent 5076d60 commit a633f1b

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

example/lib/main.dart

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class AppHome extends StatelessWidget {
2727
children: <Widget>[
2828
showAlertDialog(context),
2929
showListViewDialog(context),
30+
showProgressDialog(context),
3031
],
3132
),
3233
),
@@ -147,6 +148,24 @@ showListViewDialog(BuildContext context) {
147148
);
148149
}
149150

151+
showProgressDialog(BuildContext context) {
152+
return Padding(
153+
padding: EdgeInsets.all(8.0),
154+
child: Column(
155+
crossAxisAlignment: CrossAxisAlignment.start,
156+
children: <Widget>[
157+
Text("YYProgressDialog", style: titleTextStyle),
158+
Text("1、demo"),
159+
Row(
160+
children: <Widget>[
161+
makeTextButton("title", () {}),
162+
],
163+
),
164+
],
165+
),
166+
);
167+
}
168+
150169
Widget makeTextButton(title, Function() function) {
151170
return SizedBox(
152171
width: 70.0,

0 commit comments

Comments
 (0)