This commit is contained in:
open-trade
2020-11-23 23:52:30 +08:00
parent f86673ebcb
commit 23f1ce5da5
3 changed files with 5 additions and 9 deletions

View File

@@ -13,7 +13,6 @@ class MyTheme {
static const Color border = Color(0xFFCCCCCC);
}
// https://github.com/huangjianke/flutter_easyloading
void showLoading(String text) {
dismissLoading();
EasyLoading.show(status: text);
@@ -32,7 +31,6 @@ bool _hasDialog = false;
typedef BuildAlertDailog = Tuple3<Widget, Widget, List<Widget>> Function(
void Function(void Function()));
// https://material.io/develop/flutter/components/dialogs
Future<T> showAlertDialog<T>(BuildContext context, BuildAlertDailog build,
[WillPopCallback onWillPop,
bool barrierDismissible = false,