📌  相关文章
📜  MissingPluginException(在通道 plugins.flutter.io shared_preferences 上找不到方法 getAll 的实现) - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:31.400000             🧑  作者: Mango

代码示例4
The share plugin works as intended. The error probably appears because
the addition of the plugin was followed by hot restart or hot reload
rather than full restart. This means the plugin's platform-specific code
is not built into the app.

Work around: stop the app and restart it after adding a plugin.

Documentation PR: flutter/website#1038