浏览代码

minor changes

ashilkn 3 年之前
父节点
当前提交
fdad1dcd5d
共有 1 个文件被更改,包括 3 次插入4 次删除
  1. 3 4
      lib/utils/toast_util.dart

+ 3 - 4
lib/utils/toast_util.dart

@@ -13,14 +13,13 @@ Future<void> showToast(String message,
         toastLength: toastLength,
         gravity: ToastGravity.TOP,
         timeInSecForIosWeb: 1,
-        // backgroundColor: Colors.blueGrey[900]
-        backgroundColor: Color.fromRGBO(59, 59, 59, 0.23),
+        backgroundColor: Color.fromRGBO(127, 127, 127, 0.5),
         textColor: Colors.white,
         fontSize: 16.0);
   } else {
     EasyLoading.instance
-      ..backgroundColor = Color.fromRGBO(59, 59, 59, 0.23)
-      ..indicatorColor = Color.fromRGBO(59, 59, 59, 0.23)
+      ..backgroundColor = Color.fromRGBO(127, 127, 127, 0.5)
+      ..indicatorColor = Color.fromRGBO(127, 127, 127, 0.5)
       ..textColor = Colors.white
       ..userInteractions = true
       ..loadingStyle = EasyLoadingStyle.custom;