Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter ios No podspec found for `flutter_keyboard_visibility_web` in

Tags:

ios

flutter

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

like image 451
blue492 Avatar asked Dec 10 '20 07:12

blue492


People also ask

What is flutter keyboard visibility plugin?

Flutter plugin for discovering the state of the soft-keyboard visibility on Android and iOS.

How to dismiss the keyboard during flutter test?

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

How to invalidate the caches in flutter?

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.

How do I subscribe to keyboard visibility in Java?

Query and/or subscribe to keyboard visibility directly with the KeyboardVisibilityController class.


Video Answer


1 Answers

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

like image 158
blue492 Avatar answered Oct 17 '22 00:10

blue492