浏览代码

Change background color for toasts

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

+ 1 - 1
lib/utils/toast_util.dart

@@ -7,7 +7,7 @@ Future<void> showToast(String message, {toastLength: Toast.LENGTH_LONG}) {
       toastLength: toastLength,
       gravity: ToastGravity.BOTTOM,
       timeInSecForIosWeb: 1,
-      backgroundColor: Colors.grey[800],
+      backgroundColor: Colors.blueGrey[900],
       textColor: Colors.white,
       fontSize: 16.0);
 }