FlutterToast
FlutterToast copied to clipboard
gravity center not work on android 14
8.2.4版本,代码如下:
Fluttertoast.showToast(
msg: msg,
toastLength: Toast.LENGTH_SHORT,
gravity: ToastGravity.CENTER,
timeInSecForIosWeb: 1,
backgroundColor: Theme.of(context).primaryColor,
textColor: Theme.of(context).colorScheme.onPrimary,
fontSize: 14.w);
Same here. Also the background color doesn't work
neither ToastGravity.TOP works
this was mentioned by the author in the readme if im not wrong. @junixapp