Updated toast library. Fixed color issue on mobile web
This commit is contained in:
parent
280b963641
commit
300a597155
@ -65,8 +65,11 @@ class StatusPageState extends State<StatusPage> {
|
|||||||
msg: 'Status "${newStatus.isEmpty ? 'cleared' : newStatus}" sent!',
|
msg: 'Status "${newStatus.isEmpty ? 'cleared' : newStatus}" sent!',
|
||||||
toastLength: Toast.LENGTH_SHORT,
|
toastLength: Toast.LENGTH_SHORT,
|
||||||
gravity: ToastGravity.BOTTOM,
|
gravity: ToastGravity.BOTTOM,
|
||||||
backgroundColor: Colors.black,
|
backgroundColor: Colors.blueAccent,
|
||||||
|
webBgColor: Colors.blueAccent.value.toString(),
|
||||||
textColor: Colors.white,
|
textColor: Colors.white,
|
||||||
|
fontSize: 16.0,
|
||||||
|
timeInSecForIosWeb: 1,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ dependencies:
|
|||||||
shared_preferences: ^2.0.9
|
shared_preferences: ^2.0.9
|
||||||
image_picker: ^1.1.2
|
image_picker: ^1.1.2
|
||||||
uuid: ^4.4.2
|
uuid: ^4.4.2
|
||||||
fluttertoast: ^8.0.9
|
fluttertoast: ^8.2.8
|
||||||
|
|
||||||
|
|
||||||
# The following adds the Cupertino Icons font to your application.
|
# The following adds the Cupertino Icons font to your application.
|
||||||
|
Loading…
Reference in New Issue
Block a user