Updated toast library. Fixed color issue on mobile web

This commit is contained in:
whysman 2024-11-10 19:26:42 -05:00
parent 280b963641
commit 300a597155
2 changed files with 5 additions and 2 deletions

View File

@ -65,8 +65,11 @@ class StatusPageState extends State<StatusPage> {
msg: 'Status "${newStatus.isEmpty ? 'cleared' : newStatus}" sent!',
toastLength: Toast.LENGTH_SHORT,
gravity: ToastGravity.BOTTOM,
backgroundColor: Colors.black,
backgroundColor: Colors.blueAccent,
webBgColor: Colors.blueAccent.value.toString(),
textColor: Colors.white,
fontSize: 16.0,
timeInSecForIosWeb: 1,
);
}
}

View File

@ -36,7 +36,7 @@ dependencies:
shared_preferences: ^2.0.9
image_picker: ^1.1.2
uuid: ^4.4.2
fluttertoast: ^8.0.9
fluttertoast: ^8.2.8
# The following adds the Cupertino Icons font to your application.