flutter 自定义loading,调用 ProgressDialog.showProgress(context, child: Text('导出中')); Future.delayed(Duration(seconds: 3)).then((_) { ProgressDialog.dismiss(context); });