Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatible with flutter 3.7 #136

Open
mark8044 opened this issue Jan 25, 2023 · 22 comments · May be fixed by #137
Open

Not compatible with flutter 3.7 #136

mark8044 opened this issue Jan 25, 2023 · 22 comments · May be fixed by #137

Comments

@mark8044
Copy link

Looks like we are not compatible with new flutter 3.7.

Is this repo officially dead?

@darkwood-studios
Copy link

same here. after updating to 3.7 i got this error

flutter_chips_input-2.0.0/lib/src/chips_input.dart:87:7: Error: The non-abstract class 'ChipsInputState' is missing implementations for these members:

  • TextInputClient.didChangeInputControl
  • TextInputClient.performSelector
    Try to either
  • provide an implementation,
  • inherit an implementation from a superclass or mixin,
  • mark the class as abstract, or
  • provide a 'noSuchMethod' implementation.

@TheMedo
Copy link

TheMedo commented Jan 26, 2023

Same here!

@yasseralsaidi
Copy link

PLEASE FIX!

@sherkot
Copy link

sherkot commented Jan 27, 2023

Same here!

@shahirsoft
Copy link

shahirsoft commented Jan 29, 2023

2023-01-29_16-14-52

append this code to file chips_input.dart
..Pub\Cache\hosted\pub.dev\flutter_chips_input-2.0.0\lib\src\chips_input.dart

  @override
  void insertTextPlaceholder(Size size) {}

  @override
  void removeTextPlaceholder() {}

  @override
  void updateEditingValueWithDeltas(List<TextEditingDelta> textEditingDeltas) {}

  @override
  void didChangeInputControl(
      TextInputControl? oldControl, TextInputControl? newControl) {}

  @override
  void performSelector(String selectorName) {}

@bradintheusa
Copy link

Add this to your pubspec

  flutter_chips_input: 
     git: https://github.com/bradintheusa/flutter_chips_input

or if it's a nested dependency add

dependency_overrides:
  flutter_chips_input: 
     git: https://github.com/bradintheusa/flutter_chips_input

@azabcodes
Copy link

same problem , and I don't use this package

@azabcodes
Copy link

equatable: ^2.0.5
dio: ^4.0.6
dartz: ^0.10.1
flutter_bloc: ^8.1.1
bloc: ^8.1.0
get_it: ^7.2.0
animate_do: ^3.0.2
cached_network_image: ^3.2.3
google_fonts: ^4.0.1
shimmer: ^2.0.0
carousel_slider: ^4.2.1
flutter_spinkit: ^5.1.0
url_launcher: ^6.1.8
flutter_svg: ^1.1.6
flutter_screenutil: ^5.6.0
hexcolor: ^3.0.1
flutter_launcher_icons: ^0.11.0
shared_preferences: ^2.0.17
lottie: ^2.2.0
flutter_conditional_rendering: ^2.0.0
google_maps_flutter: ^2.2.3
geocoding: ^2.0.5
map_location_picker: ^1.1.0
location: ^4.4.0
geocode: ^1.0.2
flutter_polyline_points: ^1.0.0
uuid: ^3.0.7
permission_handler: ^10.2.0

@bradintheusa
Copy link

One of your packages does. Just use my fix and it will work for you.

flutter pub deps

Will tell you which one.

@azabcodes
Copy link

@bradintheusa
Which package use it
and I tried to add this
flutter_chips_input:
git: https://github.com/bradintheusa/flutter_chips_input

but still same problem

@azabcodes
Copy link

Please fix this package, I have to work 😫

@bradintheusa
Copy link

Fixing this package won’t help you as you have a nested dependency

The command I gave will tell you which one but just add the override.

@azabcodes
Copy link

@bradintheusa

You mean
1 : add this

dependency_overrides:
flutter_chips_input:
git: https://github.com/bradintheusa/flutter_chips_input

2 : flutter pub deps

@bradintheusa
Copy link

bradintheusa commented Jan 29, 2023

Do 1.

2 will just help you find the source for a longer term fix.

@azabcodes
Copy link

@bradintheusa OK I will try
but I have a question
does the error happens because of another package
and If this package fix its problem
will this make every thing good ?

@bradintheusa
Copy link

Once this package is fixed other packages will need to be updated to use the fixed package.

@azabcodes
Copy link

@bradintheusa is it map location picker ?

Dart SDK 2.19.0
Flutter SDK 3.7.0

├── animate_do 3.0.2
│ └── flutter...
├── bloc 8.1.0
│ └── meta...
├── cached_network_image 3.2.3
│ ├── cached_network_image_platform_interface 2.0.0
│ │ ├── flutter...
│ │ └── flutter_cache_manager...
│ ├── cached_network_image_web 1.0.2
│ │ ├── cached_network_image_platform_interface...
│ │ ├── flutter...
│ │ └── flutter_cache_manager...
│ ├── flutter_cache_manager 3.3.0
│ │ ├── file 6.1.4
│ │ │ ├── meta...
│ │ │ └── path...
│ │ ├── pedantic 1.11.1
│ │ ├── rxdart 0.27.7
│ │ ├── sqflite 2.2.4+1
│ │ │ ├── sqflite_common 2.4.2+2
│ │ │ │ ├── synchronized 3.0.1
│ │ │ │ ├── meta...
│ │ │ │ └── path...
│ │ │ ├── flutter...
│ │ │ └── path...
│ │ ├── clock...
│ │ ├── collection...
│ │ ├── flutter...
│ │ ├── http...
│ │ ├── path...
│ │ ├── path_provider...
│ │ └── uuid...
│ ├── octo_image 1.0.2
│ │ ├── flutter_blurhash 0.7.0
│ │ │ └── flutter...
│ │ └── flutter...
│ └── flutter...
├── carousel_slider 4.2.1
│ └── flutter...
├── cupertino_icons 1.0.5
├── dartz 0.10.1
├── dio 4.0.6
│ ├── http_parser 4.0.2
│ │ ├── typed_data 1.3.1
│ │ │ └── collection...
│ │ ├── collection...
│ │ ├── source_span...
│ │ └── string_scanner...
│ └── path...
├── equatable 2.0.5
│ ├── collection...
│ └── meta...
├── flutter 0.0.0
│ ├── sky_engine 0.0.99
│ ├── characters...
│ ├── collection...
│ ├── js...
│ ├── material_color_utilities...
│ ├── meta...
│ └── vector_math...
├── flutter_bloc 8.1.1
│ ├── provider 6.0.5
│ │ ├── nested 1.0.0
│ │ │ └── flutter...
│ │ ├── collection...
│ │ └── flutter...
│ ├── bloc...
│ └── flutter...
├── flutter_chips_input 2.0.0
│ └── flutter...
├── flutter_conditional_rendering 2.0.0
│ └── flutter...
├── flutter_launcher_icons 0.11.0
│ ├── args 2.3.2
│ ├── checked_yaml 2.0.2
│ │ ├── json_annotation...
│ │ ├── source_span...
│ │ └── yaml...
│ ├── cli_util 0.3.5
│ │ ├── meta...
│ │ └── path...
│ ├── image 3.3.0
│ │ ├── archive...
│ │ ├── meta...
│ │ └── xml...
│ ├── json_annotation 4.8.0
│ │ └── meta...
│ ├── yaml 3.1.1
│ │ ├── collection...
│ │ ├── source_span...
│ │ └── string_scanner...
│ └── path...
├── flutter_localizations 0.0.0
│ ├── characters 1.2.1
│ ├── clock 1.1.1
│ ├── collection 1.17.0
│ ├── intl 0.17.0
│ │ ├── clock...
│ │ └── path...
│ ├── js 0.6.5
│ │ └── meta...
│ ├── material_color_utilities 0.2.0
│ ├── meta 1.8.0
│ ├── path 1.8.2
│ ├── vector_math 2.1.4
│ └── flutter...
├── flutter_polyline_points 1.0.0
│ ├── flutter...
│ └── http...
├── flutter_screenutil 5.6.0
│ └── flutter...
├── flutter_spinkit 5.1.0
│ └── flutter...
├── flutter_svg 1.1.6
│ ├── path_drawing 1.0.1
│ │ ├── path_parsing 1.0.1
│ │ │ ├── meta...
│ │ │ └── vector_math...
│ │ ├── flutter...
│ │ ├── meta...
│ │ └── vector_math...
│ ├── xml 6.2.2
│ │ ├── petitparser 5.1.0
│ │ │ └── meta...
│ │ ├── collection...
│ │ └── meta...
│ ├── flutter...
│ ├── meta...
│ └── vector_math...
├── flutter_test 0.0.0
│ ├── boolean_selector 2.1.1
│ │ ├── source_span...
│ │ └── string_scanner...
│ ├── fake_async 1.3.1
│ │ ├── clock...
│ │ └── collection...
│ ├── matcher 0.12.13
│ │ ├── meta...
│ │ └── stack_trace...
│ ├── source_span 1.9.1
│ │ ├── collection...
│ │ ├── path...
│ │ └── term_glyph...
│ ├── stack_trace 1.11.0
│ │ └── path...
│ ├── stream_channel 2.1.1
│ │ └── async...
│ ├── string_scanner 1.2.0
│ │ └── source_span...
│ ├── term_glyph 1.2.1
│ ├── test_api 0.4.16
│ │ ├── async...
│ │ ├── boolean_selector...
│ │ ├── collection...
│ │ ├── matcher...
│ │ ├── meta...
│ │ ├── source_span...
│ │ ├── stack_trace...
│ │ ├── stream_channel...
│ │ ├── string_scanner...
│ │ └── term_glyph...
│ ├── async...
│ ├── characters...
│ ├── clock...
│ ├── collection...
│ ├── flutter...
│ ├── js...
│ ├── material_color_utilities...
│ ├── meta...
│ ├── path...
│ └── vector_math...
├── geocode 1.0.2
│ └── http...
├── geocoding 2.0.5
│ ├── geocoding_platform_interface 2.0.1
│ │ ├── flutter...
│ │ ├── meta...
│ │ └── plugin_platform_interface...
│ └── flutter...
├── get_it 7.2.0
│ ├── async 2.10.0
│ │ ├── collection...
│ │ └── meta...
│ └── collection...
├── google_fonts 4.0.1
│ ├── crypto 3.0.2
│ │ └── typed_data...
│ ├── http 0.13.5
│ │ ├── async...
│ │ ├── http_parser...
│ │ ├── meta...
│ │ └── path...
│ ├── path_provider 2.0.12
│ │ ├── path_provider_android 2.0.22
│ │ │ ├── flutter...
│ │ │ └── path_provider_platform_interface...
│ │ ├── path_provider_foundation 2.1.1
│ │ │ ├── flutter...
│ │ │ └── path_provider_platform_interface...
│ │ ├── path_provider_linux 2.1.7
│ │ │ ├── ffi 2.0.1
│ │ │ ├── xdg_directories 0.2.0+3
│ │ │ │ ├── process 4.2.4
│ │ │ │ │ ├── file...
│ │ │ │ │ ├── path...
│ │ │ │ │ └── platform...
│ │ │ │ ├── meta...
│ │ │ │ └── path...
│ │ │ ├── flutter...
│ │ │ ├── path...
│ │ │ └── path_provider_platform_interface...
│ │ ├── path_provider_platform_interface 2.0.5
│ │ │ ├── platform 3.1.0
│ │ │ ├── flutter...
│ │ │ └── plugin_platform_interface...
│ │ ├── path_provider_windows 2.1.3
│ │ │ ├── win32 3.1.3
│ │ │ │ └── ffi...
│ │ │ ├── ffi...
│ │ │ ├── flutter...
│ │ │ ├── path...
│ │ │ └── path_provider_platform_interface...
│ │ └── flutter...
│ └── flutter...
├── google_maps_flutter 2.2.3
│ ├── google_maps_flutter_android 2.4.3
│ │ ├── flutter_plugin_android_lifecycle 2.0.7
│ │ │ └── flutter...
│ │ ├── stream_transform 2.1.0
│ │ ├── flutter...
│ │ └── google_maps_flutter_platform_interface...
│ ├── google_maps_flutter_ios 2.1.13
│ │ ├── flutter...
│ │ ├── google_maps_flutter_platform_interface...
│ │ └── stream_transform...
│ ├── google_maps_flutter_platform_interface 2.2.5
│ │ ├── collection...
│ │ ├── flutter...
│ │ ├── plugin_platform_interface...
│ │ └── stream_transform...
│ └── flutter...
├── hexcolor 3.0.1
│ ├── flutter_web_plugins 0.0.0
│ │ ├── characters...
│ │ ├── collection...
│ │ ├── flutter...
│ │ ├── js...
│ │ ├── material_color_utilities...
│ │ ├── meta...
│ │ └── vector_math...
│ └── flutter...
├── location 4.4.0
│ ├── location_platform_interface 2.3.0
│ │ ├── flutter...
│ │ ├── meta...
│ │ └── plugin_platform_interface...
│ ├── location_web 3.1.1
│ │ ├── flutter...
│ │ ├── flutter_web_plugins...
│ │ ├── http_parser...
│ │ ├── js...
│ │ ├── location_platform_interface...
│ │ └── meta...
│ └── flutter...
├── lottie 2.2.0
│ ├── archive 3.3.6
│ │ ├── pointycastle 3.6.2
│ │ │ ├── convert 3.1.1
│ │ │ │ └── typed_data...
│ │ │ ├── collection...
│ │ │ └── js...
│ │ ├── crypto...
│ │ └── path...
│ ├── flutter...
│ ├── path...
│ └── vector_math...
├── map_location_picker 1.1.0
│ ├── flutter_typeahead 4.3.2
│ │ ├── flutter_keyboard_visibility 5.4.0
│ │ │ ├── flutter_keyboard_visibility_linux 1.0.0
│ │ │ │ ├── flutter...
│ │ │ │ └── flutter_keyboard_visibility_platform_interface...
│ │ │ ├── flutter_keyboard_visibility_macos 1.0.0
│ │ │ │ ├── flutter...
│ │ │ │ └── flutter_keyboard_visibility_platform_interface...
│ │ │ ├── flutter_keyboard_visibility_platform_interface 2.0.0
│ │ │ │ ├── flutter...
│ │ │ │ ├── meta...
│ │ │ │ └── plugin_platform_interface...
│ │ │ ├── flutter_keyboard_visibility_web 2.0.0
│ │ │ │ ├── flutter...
│ │ │ │ ├── flutter_keyboard_visibility_platform_interface...
│ │ │ │ └── flutter_web_plugins...
│ │ │ ├── flutter_keyboard_visibility_windows 1.0.0
│ │ │ │ ├── flutter...
│ │ │ │ └── flutter_keyboard_visibility_platform_interface...
│ │ │ ├── flutter...
│ │ │ └── meta...
│ │ └── flutter...
│ ├── form_builder_extra_fields 8.3.0
│ │ ├── dropdown_search 5.0.5
│ │ │ └── flutter...
│ │ ├── flutter_colorpicker 1.0.3
│ │ │ └── flutter...
│ │ ├── flutter_datetime_picker_bdaya 2.0.0
│ │ │ └── flutter...
│ │ ├── flutter_form_builder 7.7.0
│ │ │ ├── collection...
│ │ │ ├── flutter...
│ │ │ └── intl...
│ │ ├── flutter_rating_bar 4.0.1
│ │ │ └── flutter...
│ │ ├── flutter_touch_spin 2.0.0
│ │ │ ├── flutter...
│ │ │ └── intl...
│ │ ├── signature 5.3.0
│ │ │ ├── flutter...
│ │ │ ├── flutter_svg...
│ │ │ └── image...
│ │ ├── flutter...
│ │ ├── flutter_chips_input...
│ │ ├── flutter_typeahead...
│ │ └── intl...
│ ├── geolocator 9.0.2
│ │ ├── geolocator_android 4.1.7
│ │ │ ├── flutter...
│ │ │ └── geolocator_platform_interface...
│ │ ├── geolocator_apple 2.2.5
│ │ │ ├── flutter...
│ │ │ └── geolocator_platform_interface...
│ │ ├── geolocator_platform_interface 4.0.7
│ │ │ ├── flutter...
│ │ │ ├── meta...
│ │ │ ├── plugin_platform_interface...
│ │ │ └── vector_math...
│ │ ├── geolocator_web 2.1.6
│ │ │ ├── flutter...
│ │ │ ├── flutter_web_plugins...
│ │ │ └── geolocator_platform_interface...
│ │ ├── geolocator_windows 0.1.1
│ │ │ ├── flutter...
│ │ │ └── geolocator_platform_interface...
│ │ └── flutter...
│ ├── google_maps_flutter_web 0.4.0+5
│ │ ├── google_maps 6.2.0
│ │ │ ├── js_wrapping 0.7.4
│ │ │ │ └── js...
│ │ │ └── meta...
│ │ ├── sanitize_html 2.0.0
│ │ │ ├── html 0.15.1
│ │ │ │ ├── csslib 0.17.2
│ │ │ │ │ └── source_span...
│ │ │ │ └── source_span...
│ │ │ └── meta...
│ │ ├── flutter...
│ │ ├── flutter_web_plugins...
│ │ ├── google_maps_flutter_platform_interface...
│ │ └── stream_transform...
│ ├── google_maps_webservice 0.0.20-nullsafety.5
│ │ ├── http...
│ │ ├── json_annotation...
│ │ └── meta...
│ ├── logger 1.1.0
│ ├── flutter...
│ ├── google_maps_flutter...
│ └── http...
├── permission_handler 10.2.0
│ ├── permission_handler_android 10.2.0
│ │ ├── flutter...
│ │ └── permission_handler_platform_interface...
│ ├── permission_handler_apple 9.0.7
│ │ ├── flutter...
│ │ └── permission_handler_platform_interface...
│ ├── permission_handler_platform_interface 3.9.0
│ │ ├── flutter...
│ │ ├── meta...
│ │ └── plugin_platform_interface...
│ ├── permission_handler_windows 0.1.2
│ │ ├── flutter...
│ │ └── permission_handler_platform_interface...
│ ├── flutter...
│ └── meta...
├── shared_preferences 2.0.17
│ ├── shared_preferences_android 2.0.15
│ │ ├── flutter...
│ │ └── shared_preferences_platform_interface...
│ ├── shared_preferences_foundation 2.1.2
│ │ ├── flutter...
│ │ └── shared_preferences_platform_interface...
│ ├── shared_preferences_linux 2.1.3
│ │ ├── file...
│ │ ├── flutter...
│ │ ├── path...
│ │ ├── path_provider_linux...
│ │ ├── path_provider_platform_interface...
│ │ └── shared_preferences_platform_interface...
│ ├── shared_preferences_platform_interface 2.1.0
│ │ ├── flutter...
│ │ └── plugin_platform_interface...
│ ├── shared_preferences_web 2.0.4
│ │ ├── flutter...
│ │ ├── flutter_web_plugins...
│ │ └── shared_preferences_platform_interface...
│ ├── shared_preferences_windows 2.1.3
│ │ ├── file...
│ │ ├── flutter...
│ │ ├── path...
│ │ ├── path_provider_platform_interface...
│ │ ├── path_provider_windows...
│ │ └── shared_preferences_platform_interface...
│ └── flutter...
├── shimmer 2.0.0
│ └── flutter...
├── url_launcher 6.1.8
│ ├── url_launcher_android 6.0.23
│ │ ├── flutter...
│ │ └── url_launcher_platform_interface...
│ ├── url_launcher_ios 6.0.18
│ │ ├── flutter...
│ │ └── url_launcher_platform_interface...
│ ├── url_launcher_linux 3.0.2
│ │ ├── flutter...
│ │ └── url_launcher_platform_interface...
│ ├── url_launcher_macos 3.0.2
│ │ ├── flutter...
│ │ └── url_launcher_platform_interface...
│ ├── url_launcher_platform_interface 2.1.1
│ │ ├── plugin_platform_interface 2.1.3
│ │ │ └── meta...
│ │ └── flutter...
│ ├── url_launcher_web 2.0.14
│ │ ├── flutter...
│ │ ├── flutter_web_plugins...
│ │ └── url_launcher_platform_interface...
│ ├── url_launcher_windows 3.0.3
│ │ ├── flutter...
│ │ └── url_launcher_platform_interface...
│ └── flutter...
└── uuid 3.0.7
└── crypto...

@bradintheusa
Copy link

Yes but it requires these to both be upgraded as well

form_builder_extra_fields
dropdown_search

@yasseralsaidi
Copy link

dependency_overrides:
flutter_chips_input:
git: https://github.com/bradintheusa/flutter_chips_input

@nlfiedler
Copy link

For those still using this library, I have given up on waiting for danvick and created a new fork. I've integrated all of the open PRs and fixed a bug or two. Still working on another bug related to backspace on macOS.

https://github.com/nlfiedler/choose_input_chips

@BurningAXE
Copy link

For those still using this library, I have given up on waiting for danvick and created a new fork. I've integrated all of the open PRs and fixed a bug or two. Still working on another bug related to backspace on macOS.

https://github.com/nlfiedler/choose_input_chips

THANK YOU!

@xelanac
Copy link

xelanac commented Sep 7, 2023

Hi there! I got the same issue using flutter_chips_input v.2.0.0 on flutter 3.10.4. I tried to add methods that @shahirsoft shared above but I still got issue so i needed to add also insertContent method, like below. Hope this can help you!

@override
  void insertTextPlaceholder(Size size) {}

  @override
  void removeTextPlaceholder() {}

  @override
  void updateEditingValueWithDeltas(List<TextEditingDelta> textEditingDeltas) {}

  @override
  void didChangeInputControl(
      TextInputControl? oldControl, TextInputControl? newControl) {}

  @override
  void performSelector(String selectorName) {}

  @override
  void showToolbar() {}

  @override
  void insertContent(KeyboardInsertedContent content) {}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.