Answers for "flutter test MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/package_info)"

2

MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences)

inside main.dart before start app add below code

SharedPreferences.setMockInitialValues({});

for reason:
https://stackoverflow.com/questions/50687801/flutter-unhandled-exception-missingpluginexceptionno-implementation-found-for
Posted by: Guest on June-27-2021

Code answers related to "flutter test MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/package_info)"

Browse Popular Code Answers by Language