File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff 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+
150169Widget makeTextButton (title, Function () function) {
151170 return SizedBox (
152171 width: 70.0 ,
You can’t perform that action at this time.
0 commit comments