FlutterToast icon indicating copy to clipboard operation
FlutterToast copied to clipboard

Unhandled Exception: MissingPluginException(No implementation found for method showToast on channel PonnamKarthik/fluttertoast)

Open JyotiRajwaniya opened this issue 2 years ago • 7 comments

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 );

JyotiRajwaniya avatar Aug 28 '21 06:08 JyotiRajwaniya

Do a full restart of the application if still not works

try

flutter clean

then run application

ponnamkarthik avatar Aug 28 '21 15:08 ponnamkarthik

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) #1 Fluttertoast.showToast (package:fluttertoast/fluttertoast.dart:100:17)

----------------------
 fluttertoast version 8.0.8

DreamerKy avatar Nov 22 '21 09:11 DreamerKy

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?

KevinRyu avatar Mar 02 '22 06:03 KevinRyu

I had this error too, that is when I am using it for desktop.

Willie2020 avatar Mar 04 '22 23:03 Willie2020

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!

KevinRyu avatar Mar 04 '22 23:03 KevinRyu

You are welcome :)

Willie2020 avatar Mar 05 '22 00:03 Willie2020

  • Remove for app from emulator
  • flutter clean
  • flutter pub get
  • Run

This worked for me.

nbot0902 avatar Apr 19 '22 04:04 nbot0902