FlutterToast
FlutterToast copied to clipboard
Toast message on android sdk bigger than or equal to 31 does not appear as expected.
I noticed that when we pass decoration to toast message like text color, text font size, background color etc if the android version of the device is bigger than or equal to 31 I mean since android 12, the decoration is not applied.
so I took the implementation of the library and put it in a seperate android project and I removed the condition where it checks that the android version is less than 31 or not.
finally it worked, so I recommened the developer to remove this condition since I had to make the package embedded in my project not pulled from git.

@mahmourad98 this code updated or not in latest library?
android 13 does not appear background color
@ShirishModi8 no it is not updated till now.
I updated the code in a forked repository you can pull it from here. https://github.com/mahmourad98/FlutterToast-Android-S-VersionFix I have submitted a pull request for the library owner to merge the hot-fix with the base code.