File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -159,6 +159,9 @@ showProgressDialog(BuildContext context) {
159159 Text ("1、demo" ),
160160 Row (
161161 children: < Widget > [
162+ makeTextButton ("nobody" , () {
163+ YYProgressDialogNoBody (context);
164+ }),
162165 makeTextButton ("body" , () {
163166 YYProgressDialogBody (context);
164167 }),
Original file line number Diff line number Diff line change @@ -2,6 +2,17 @@ import 'package:flutter/material.dart';
22
33import '../flutter_custom_dialog.dart' ;
44
5+ YYDialog YYProgressDialogNoBody (BuildContext context) {
6+ return YYDialog ().build (context)
7+ ..width = 200
8+ ..borderRadius = 4.0
9+ ..circularProgress (
10+ padding: EdgeInsets .all (24.0 ),
11+ valueColor: Colors .orange[500 ],
12+ )
13+ ..show ();
14+ }
15+
516YYDialog YYProgressDialogBody (BuildContext context) {
617 return YYDialog ().build (context)
718 ..width = 200
You can’t perform that action at this time.
0 commit comments