flutter-form-builder-ecosystem/form_builder_extra_fields

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

Closed this issue · 3 comments

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

same here please fix

@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 

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