Set the background color for toasts
This commit is contained in:
parent
1d7840f37a
commit
805f41f811
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue