FlutterToast
FlutterToast copied to clipboard
Unhandled Exception: MissingPluginException(No implementation found for method showToast on channel PonnamKarthik/fluttertoast)
Hello when i update into latest version >8.0.8 i get this error
and as i update code according to new change Fluttertoast.showToast( msg: tr("sendSuuccess"), toastLength: Toast.LENGTH_SHORT, gravity: ToastGravity.BOTTOM, backgroundColor: Colors.white, textColor: Colors.black, timeInSecForIosWeb: 1, fontSize: 16.0 );
Do a full restart of the application if still not works
try
flutter clean
then run application
E/flutter: [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: MissingPluginException(No implementation found for method showToast on channel PonnamKarthik/fluttertoast)
#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:154:7)
----------------------
fluttertoast version 8.0.8
Hi.
I faced the same issues. Fluttertoast version is 8.0.9. Even though I tried full restart and flutter clean, it doesn't work. What can I do for this?
I had this error too, that is when I am using it for desktop.
2022년 3월 5일 (토) 오전 8:22, Wilson @.***>님이 작성:
I had this error too, that is when I am using for desktop
— Reply to this email directly, view it on GitHub https://github.com/ponnamkarthik/FlutterToast/issues/337#issuecomment-1059600165, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG43MBIKEB56KMTDA6FTDHLU6KLJ7ANCNFSM5C6Z2IDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.
Hi.
I didn’t think that windows desktop app is not fully supported even though I use flutter over 2.10.x. And flutterToast doesn’t support windows app. Web is okay. I cannot use android or ios emulator in my office because of company policies. So, I checked it out at home. Thanks for your inform. Have a nice day!
You are welcome :)
- Remove for app from emulator
- flutter clean
- flutter pub get
- Run
This worked for me.