ponnamkarthik/toast/fluttertoast/MethodCallHandlerImpl.kt when compile flutter
Change it to fluttertoast: 7.1.5 Run Pub get and run your project After this you can change to fluttertoast: ^7.1.6 Obviusly this is not the best wey to fix this error but it works for me. Good luck