Closed Maulik009 closed 4 years ago
Simply do a flutter clean and run it again, should fix the issue
Any news @Maulik009?
I tried running flutter doctor but still having same error.
Please do a flutter pub get
, stop your current app and build it again.
It should be OK
I integrate the plugin but when I run the code, I am getting following error.
E/flutter (14767): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: MissingPluginException(No implementation found for method updateBadgeCount on channel app_badge) E/flutter (14767): #0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:7) E/flutter (14767):
E/flutter (14767): #1 FlutterAppBadger.updateBadgeCount (package:flutter_app_badger/flutter_app_badger.dart:12:14)
E/flutter (14767): #2 _BottomNavBarAppState.calculateCounter.. (package:smartmd/bottomNavigation/BottomNavBarApp.dart:271:26)
E/flutter (14767): #3 _rootRunUnary (dart:async/zone.dart:1132:38)
E/flutter (14767): #4 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
E/flutter (14767): #5 _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
E/flutter (14767): #6 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
E/flutter (14767): #7 Future._propagateToListeners (dart:async/future_impl.dart:668:32)
E/flutter (14767): #8 Future._complete (dart:async/future_impl.dart:473:7)
E/flutter (14767): #9 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
E/flutter (14767): #10 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:28:18)
E/flutter (14767): #11 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:294:13)