Set the background color for toasts

This commit is contained in:
Vishnu Mohandas 2020-08-08 02:33:10 +05:30
parent 1d7840f37a
commit 805f41f811

View file

@ -7,7 +7,7 @@ void showToast(String message, {toastLength: Toast.LENGTH_SHORT}) {
toastLength: toastLength,
gravity: ToastGravity.BOTTOM,
timeInSecForIosWeb: 1,
backgroundColor: Colors.grey[600],
backgroundColor: Colors.grey[850],
textColor: Colors.white,
fontSize: 16.0);
}