Flutter_form_builder: Simulator builds fail for both iOS and Android after flutter upgrade - Error: The non-abstract class 'ChipsInputState' is missing implementations for these members: - TextInputClient.currentAutofillScope

Created on 25 Apr 2020  Â·  7Comments  Â·  Source: danvick/flutter_form_builder

Hello, I am on the master channel, and I just ran flutter upgrade today and everything broke. I tried downgrading but that did not work. I am using vscode. Here are my tool versions:

Flutter 1.18.0-6.0.pre.106 • channel master • https://github.com/flutter/flutter.git Framework • revision 84c84fb249 (15 hours ago) • 2020-04-20 21:35:01 -0400 Engine • revision 2bde4f0ae4 Tools • Dart 2.9.0 (build 2.9.0-1.0.dev a12c36dd97)

code build done. 19.7s Failed to build iOS app Error output from Xcode build: ↳ ** BUILD FAILED ** Xcode's output: ↳ Compiler message: ../../../.pub-cache/hosted/pub.dartlang.org/flutter_chips_input-1.8.0/lib/src/chips_input.dart:64:7: Error: The non-abstract class 'ChipsInputState' is missing implementations for these members: - TextInputClient.currentAutofillScope Try to either - provide an implementation, - inherit an implementation from a superclass or mixin, - mark the class as abstract, or - provide a 'noSuchMethod' implementation.

This issue is a build blocker for us. Would appreciate a workaround if one exists.

solved

Most helpful comment

Hello,

I'm getting this error
image
Is it related to the same one reported by OP?

Yes, easiest fix is to manually add flutter_chips_input: ^1.9.0-dev.3 to your pubspec.yaml

All 7 comments

Hi @ochmist,
You could consider adding the latest version of flutter_chips_input to your pubspec.yaml so that it overrides the one being used by this package.

You can also circumvent this by simply implementing flutter_chips_input directly, which is a very simple change (removing the 'chip' attribute, and changing the class to from FormBuilderChipsInput to just ChipsInput)

Hi @ochmist,
You could consider adding the latest version of flutter_chips_input to your pubspec.yaml so that it overrides the one being used by this package.

This worked for me. Thank you very much.

@danvick will this package's pubspec.yaml be updated soon to eliminate this issue? Edit: dumb question, sorry, forgot that I was using flutter _dev_

Hello,

I'm getting this error
image
Is it related to the same one reported by OP?

Yes, easiest fix is to manually add flutter_chips_input: ^1.9.0-dev.3 to your pubspec.yaml

Yes, it is.

I had the same issue, came here and following @jaxnz input helped.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

joshuakoh1 picture joshuakoh1  Â·  3Comments

SachinTanpure picture SachinTanpure  Â·  3Comments

jaxnz picture jaxnz  Â·  3Comments

mattf80 picture mattf80  Â·  3Comments

awhitford picture awhitford  Â·  5Comments