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

[FormBuilderChipsInput] flutter_chips_input dependency isn't compatible with Flutter 3.7 #62

Closed
wildsurfer opened this issue Feb 8, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@wildsurfer
Copy link

Environment

Package version:

Flutter doctor
[✓] Flutter (Channel stable, 3.7.1, on macOS 13.1 22C65 darwin-arm64, locale en-UA)
    • Flutter version 3.7.1 on channel stable at /Users/kuzma/Flutter/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7048ed95a5 (7 days ago), 2023-02-01 09:07:31 -0800
    • Engine revision 800594f1f4
    • Dart version 2.19.1
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/kuzma/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: /Users/kuzma/Library/Java/JavaVirtualMachines/azul-13.0.12/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment Zulu13.50+15-CA (build 13.0.12+4-MTS)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[✓] IntelliJ IDEA Ultimate Edition (version 2022.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 72.0.4
    • Dart plugin version 223.8214.16

[✓] Connected device (2 available)
    • iPhone 14 Pro (mobile) • 444F9FE3-EACA-4A0C-9EEA-86DD6F4063E3 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 109.0.5414.119

[✓] HTTP Host Availability
    • All required HTTP hosts are available

Description

Expected behavior:

Should work when upgraded from Flutter 3.3 to 3.7.

Current behavior:

I'm getting this error when try to build my app after upgrading from Flutter 3.3 to 3.7

Error (Xcode): ../../../.pub-cache/hosted/pub.dev/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:

This is because flutter_input_chips isn't compatible with Flutter 3.7. Possible solution is here: danvick/flutter_chips_input#136

Steps to reproduce

  1. Create new flutter app with Flutter 3.7
  2. Try to use any field that is dependant on flutter_chips_input package
  3. Try to build app for ios with flutter build ios command
@wildsurfer wildsurfer added the bug Something isn't working label Feb 8, 2023
@yasseralsaidi
Copy link

yasseralsaidi commented Feb 8, 2023

same here please fix

@wildsurfer
Copy link
Author

@onnedaay, if you need quick workaround just add this to your pubspec.yaml:

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

@deandreamatias deandreamatias transferred this issue from flutter-form-builder-ecosystem/flutter_form_builder Feb 25, 2023
@deandreamatias deandreamatias changed the title flutter_chips_input dependency isn't compatible with Flutter 3.7 [FormBuilderChipsInput] flutter_chips_input dependency isn't compatible with Flutter 3.7 Feb 25, 2023
@deandreamatias
Copy link
Contributor

This will be solved on next release, because flutter_chips_input isn't a dependency of FormBuilderChipsInput

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants