Whenever you add a plugin in your pubspec. yaml, you need to **stop the app and re-run** it again because the plugin contains native on both platforms.
If it still does not work, then do flutter clean and run.
Whenever you add a plugin in your pubspec. yaml, you need to **stop the app and re-run** it again because the plugin contains native on both platforms.
If it still does not work, then do flutter clean and run.