Iam using Flutter in Mac -> Android studio and when I write pod install in the terminal. It show me
Analyzing dependencies
[!] No podspec found for `flutter_keyboard_visibility_web` in .symlinks/plugins/flutter_keyboard_visibility_web/ios`
Iam using flutter from one year ago, It is the first time it happen for me. I cannot run the app. I dont have a plugin with this name flutter_keyboard_visibility_web in pubspec
How to fix it, thanks
Flutter plugin for discovering the state of the soft-keyboard visibility on Android and iOS.
Place a KeyboardDismissOnTap near the top of your Widget tree. When a user taps outside of the currently focused Widget, the Widget will drop focus and the keyboard will be dismissed. Call KeyboardVisibility.setVisibilityForTesting (value) to set a custom value to use during flutter test
From the main menu, select File | Invalidate Caches / Restart. In the Invalidate Caches dialogue, select an invalidate the caches and restart the IDE. I tested that, its not work. I think the problem is in flutter_typeahead because when I added #flutter_typeahead and wrote pod install it worked.
Query and/or subscribe to keyboard visibility directly with the KeyboardVisibilityController class.
The solution is:
1- Delete Podfile and Podfile.lock from ios folder
2- Flutter clean either from terminal or from Android studio -> Tools -> Flutter -> Flutter Clean
3- Pod install
4- Run the app
The solution is here: https://github.com/MisterJimson/flutter_keyboard_visibility/issues/52
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With